mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
fix issue with FluxContainerConverter workaround
This commit is contained in:
parent
8066cbb19c
commit
cfef3fb7e0
7 changed files with 14 additions and 21 deletions
|
@ -28,8 +28,6 @@ import LoginStore from '../user/login-store';
|
|||
|
||||
import AppDispatcher from '../common/app-dispatcher';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class SelectFile extends React.Component {
|
||||
static getStores() {
|
||||
return [ FileStore, LoginStore ];
|
||||
|
@ -150,4 +148,5 @@ class SelectFile extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(SelectFile));
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(SelectFile));
|
||||
|
|
|
@ -37,8 +37,6 @@ import ImportScenarioDialog from './import-scenario';
|
|||
|
||||
import DeleteDialog from '../common/dialogs/delete-dialog';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class Scenarios extends Component {
|
||||
static getStores() {
|
||||
return [ ScenarioStore, LoginStore ];
|
||||
|
@ -209,4 +207,5 @@ class Scenarios extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(Scenarios));
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(Scenarios));
|
||||
|
|
|
@ -33,8 +33,6 @@ import SignalMapping from './signal-mapping';
|
|||
import EditableHeader from '../common/editable-header';
|
||||
import ParametersEditor from '../common/parameters-editor';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class SimulationModel extends React.Component {
|
||||
static getStores() {
|
||||
return [ SimulationModelStore, LoginStore ];
|
||||
|
@ -170,4 +168,5 @@ class SimulationModel extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(SimulationModel), { withProps: true });
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(SimulationModel), { withProps: true });
|
||||
|
|
|
@ -26,8 +26,6 @@ import _ from 'lodash';
|
|||
|
||||
import SimulatorStore from './simulator-store';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class SelectSimulator extends React.Component {
|
||||
static getStores() {
|
||||
return [ SimulatorStore ];
|
||||
|
@ -89,4 +87,5 @@ class SelectSimulator extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(SelectSimulator));
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(SelectSimulator));
|
||||
|
|
|
@ -39,8 +39,6 @@ import ImportSimulatorDialog from './import-simulator';
|
|||
import SimulatorAction from './simulator-action';
|
||||
import DeleteDialog from '../common/dialogs/delete-dialog';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class Simulators extends Component {
|
||||
static getStores() {
|
||||
return [ LoginStore, SimulatorStore ];
|
||||
|
@ -324,4 +322,5 @@ class Simulators extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(Simulators));
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(Simulators));
|
||||
|
|
|
@ -33,8 +33,6 @@ import NotificationsDataManager from '../common/data-managers/notifications-data
|
|||
import AppDispatcher from '../common/app-dispatcher';
|
||||
import LoginStore from './login-store';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
class Login extends Component {
|
||||
static getStores() {
|
||||
return [ LoginStore ];
|
||||
|
@ -100,4 +98,5 @@ class Login extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(Login));
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(Login));
|
||||
|
|
|
@ -48,8 +48,6 @@ import WidgetBox from './widgets/box';
|
|||
import WidgetHTML from './widgets/html';
|
||||
import WidgetTopology from './widgets/topology';
|
||||
|
||||
import FluxContainerConverter from "../common/FluxContainerConverter";
|
||||
|
||||
import '../styles/widgets.css';
|
||||
|
||||
class Widget extends React.Component {
|
||||
|
@ -182,4 +180,5 @@ class Widget extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Container.create(FluxContainerConverter.convert(Widget), { withProps: true });
|
||||
let fluxContainerConverter = require('../common/FluxContainerConverter');
|
||||
export default Container.create(fluxContainerConverter.convert(Widget), { withProps: true });
|
||||
|
|
Loading…
Add table
Reference in a new issue