From 071849065a41af6d26a25111009ed31b4acdc8e1 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 15 May 2023 13:55:35 +0200 Subject: [PATCH] refs #5334 fix main --- modules/worker/front/department/index.js | 8 ++++++++ modules/worker/front/department/main/index.js | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 modules/worker/front/department/index.js diff --git a/modules/worker/front/department/index.js b/modules/worker/front/department/index.js new file mode 100644 index 000000000..5dcbe4097 --- /dev/null +++ b/modules/worker/front/department/index.js @@ -0,0 +1,8 @@ +import './main'; +import './index/'; +import './summary'; +import './card'; +import './descriptor'; +import './create'; +import './basic-data'; +import './search-panel'; diff --git a/modules/worker/front/department/main/index.js b/modules/worker/front/department/main/index.js index 75110f749..246f8fe49 100644 --- a/modules/worker/front/department/main/index.js +++ b/modules/worker/front/department/main/index.js @@ -1,9 +1,9 @@ import ngModule from '../module'; import ModuleMain from 'salix/components/module-main'; -export default class Worker extends ModuleMain {} +export default class Department extends ModuleMain {} ngModule.vnComponent('vnWorkerDepartment', { - controller: Worker, + controller: Department, template: require('./index.html') });