mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
add missing stores to scenario and senarios classes
This commit is contained in:
parent
99bf868902
commit
897995fac9
2 changed files with 7 additions and 2 deletions
|
@ -24,6 +24,7 @@ import IconToggleButton from '../common/icon-toggle-button';
|
|||
|
||||
import ScenarioStore from './scenario-store';
|
||||
import ICStore from '../ic/ic-store';
|
||||
import ICDataStore from '../ic/ic-data-store';
|
||||
import DashboardStore from '../dashboard/dashboard-store';
|
||||
import ConfigStore from '../componentconfig/config-store';
|
||||
import SignalStore from '../signal/signal-store'
|
||||
|
@ -31,6 +32,7 @@ import FileStore from "../file/file-store"
|
|||
import WidgetStore from "../widget/widget-store";
|
||||
import ResultStore from "../result/result-store"
|
||||
import UsersStore from "../user/users-store"
|
||||
import LoginStore from "../user/login-store"
|
||||
|
||||
import DashboardTable from '../dashboard/dashboard-table'
|
||||
import ResultTable from "../result/result-table";
|
||||
|
@ -68,7 +70,7 @@ class Scenario extends React.Component {
|
|||
}
|
||||
|
||||
static getStores() {
|
||||
return [ScenarioStore, ConfigStore, DashboardStore, ICStore, SignalStore, FileStore, WidgetStore, ResultStore, UsersStore];
|
||||
return [ScenarioStore, ConfigStore, DashboardStore, ICStore, ICDataStore, SignalStore, FileStore, WidgetStore, ResultStore, UsersStore, LoginStore];
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
|
|
@ -27,6 +27,9 @@ import SignalStore from '../signal/signal-store'
|
|||
import ResultStore from '../result/result-store'
|
||||
import FileStore from '../file/file-store'
|
||||
import LoginStore from '../user/login-store'
|
||||
import UsersStore from '../user/users-store'
|
||||
import ICStore from '../ic/ic-store'
|
||||
import ICDataStore from '../ic/ic-data-store'
|
||||
import Table from '../common/table';
|
||||
import TableColumn from '../common/table-column';
|
||||
import NewScenarioDialog from './new-scenario';
|
||||
|
@ -39,7 +42,7 @@ import IconButton from '../common/icon-button';
|
|||
class Scenarios extends Component {
|
||||
|
||||
static getStores() {
|
||||
return [ScenarioStore, DashboardStore, WidgetStore, ComponentConfigStore, SignalStore, ResultStore, FileStore,LoginStore];
|
||||
return [ScenarioStore, DashboardStore, WidgetStore, ComponentConfigStore, SignalStore, ResultStore, FileStore,LoginStore, UsersStore, ICStore, ICDataStore];
|
||||
}
|
||||
|
||||
static calculateState(prevState, props) {
|
||||
|
|
Loading…
Add table
Reference in a new issue