mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 20:05:42 +03:00
Data cannot be a field in the base class and a CP in the child classes
This commit is contained in:
committed by
Buck Doyle
parent
36b58a95ab
commit
7fabdd56e6
@@ -6,6 +6,7 @@ import { run } from '@ember/runloop';
|
||||
import { assign } from '@ember/polyfills';
|
||||
import { guidFor } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import { computed as overridable } from 'ember-overridable-computed';
|
||||
import d3 from 'd3-selection';
|
||||
import 'd3-transition';
|
||||
import WindowResizable from '../mixins/window-resizable';
|
||||
@@ -20,7 +21,7 @@ const sumAggregate = (total, val) => total + val;
|
||||
@classNameBindings('isNarrow:is-narrow')
|
||||
export default class DistributionBar extends Component.extend(WindowResizable) {
|
||||
chart = null;
|
||||
// data = null; FIXME causing a getter-only exception
|
||||
@overridable(() => null) data;
|
||||
activeDatum = null;
|
||||
isNarrow = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user