summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/inventoryApp/src/plugin.tsx
blob: e5e7cc8c7fdf205f4c2c05df17f2b47863671d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// app configuration and main entry point for the app


import { faShoppingBag } from '@fortawesome/free-solid-svg-icons';  // select app icon

import applicationManager from '../../../framework/src/services/applicationManager';

import { Dashboard } from  './views/dashboard';
import faultAppRootHandler from './handlers/inventoryAppRootHandler';

export function register() {
  applicationManager.registerApplication({
    name: "inventory",
    icon: faShoppingBag,
    rootActionHandler: faultAppRootHandler,
    rootComponent: Dashboard,
    menuEntry: "Inventory"
  });
}