summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/maintenanceApp/src
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/maintenanceApp/src')
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts2
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts4
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx4
-rw-r--r--sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx4
4 files changed, 7 insertions, 7 deletions
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts
index 753c1183f..3fe75ad51 100644
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts
+++ b/sdnr/wt/odlux/apps/maintenanceApp/src/actions/maintenenceActions.ts
@@ -30,7 +30,7 @@ export const loadAllMainteneceEntriesAsyncAction = (dispatch: Dispatch , getStat
}
// combine ell entries from the maintenance index with all networkelements
- const networkElements = getState().connectApp.mountedNetworkElements;
+ const networkElements = getState().connect.mountedNetworkElements;
const maintenenceEntries = networkElements.elements.reduce((acc, cur) => {
const entry = entries.find(e => e.mountId === cur.mountId);
acc.push(entry || {
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts b/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts
index 956d05843..d2e387cc4 100644
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts
+++ b/sdnr/wt/odlux/apps/maintenanceApp/src/handlers/maintenanceAppRootHandler.ts
@@ -14,8 +14,8 @@ export interface IMaintenanceAppStoreState {
declare module '../../../../framework/src/store/applicationStore' {
interface IApplicationStoreState {
- maintenanceApp: IMaintenanceAppStoreState,
- connectApp: IConnectAppStoreState
+ maintenance: IMaintenanceAppStoreState,
+ connect: IConnectAppStoreState
}
}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx b/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx
index 19e188ec2..f23a875e3 100644
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx
+++ b/sdnr/wt/odlux/apps/maintenanceApp/src/plugin.tsx
@@ -16,11 +16,11 @@ const App : React.SFC = (props) => {
export function register() {
applicationManager.registerApplication({
- name: "maintenanceApp",
+ name: "maintenance",
icon: faLock,
rootComponent: App,
rootActionHandler: maintenanceAppRootHandler,
- menuEntry: "Maintenance App"
+ menuEntry: "Maintenance"
});
}
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx b/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx
index f048d6cc5..0a8ad4a59 100644
--- a/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx
+++ b/sdnr/wt/odlux/apps/maintenanceApp/src/views/maintenenceView.tsx
@@ -37,8 +37,8 @@ const styles = (theme: Theme) => createStyles({
const MaintenenceEntriesTable = MaterialTable as MaterialTableCtorType<MaintenenceEntry>;
const mapProps = (state: IApplicationStoreState) => ({
- maintenenceEntries: state.maintenanceApp.maintenenceEntries.entries,
- busy: state.maintenanceApp.maintenenceEntries.busy
+ maintenenceEntries: state.maintenance.maintenenceEntries.entries,
+ busy: state.maintenance.maintenenceEntries.busy
});
const mapDispatcher = (dispatcher: IDispatcher) => ({