diff --git a/front/salix/components/left-menu/left-menu.js b/front/salix/components/left-menu/left-menu.js
index a0392ccce..4a9bcc8e3 100644
--- a/front/salix/components/left-menu/left-menu.js
+++ b/front/salix/components/left-menu/left-menu.js
@@ -45,6 +45,9 @@ export default class LeftMenu {
if (acl && !this.aclService.hasAny(acl))
continue;
}
+ console.log('MyItem:', item);
+ console.log('MyState:', state);
+ console.log(item.description, state.description);
let myItem = {
icon: item.icon,
description: item.description || state.description,
diff --git a/modules/worker/front/department/basic-data/index.js b/modules/worker/front/department/basic-data/index.js
index 1f2dd848c..d9b60c683 100644
--- a/modules/worker/front/department/basic-data/index.js
+++ b/modules/worker/front/department/basic-data/index.js
@@ -15,13 +15,10 @@ class Controller extends Section {
}
}
-ngModule.vnComponent('vnWorkerBasicData', {
+ngModule.vnComponent('vnWorkerDepartmentBasicData', {
template: require('./index.html'),
controller: Controller,
bindings: {
worker: '<'
- },
- require: {
- card: '^vnWorkerCard'
}
});
diff --git a/modules/worker/front/department/main/index.html b/modules/worker/front/department/main/index.html
index 2aebd0f4d..ee260b516 100644
--- a/modules/worker/front/department/main/index.html
+++ b/modules/worker/front/department/main/index.html
@@ -12,9 +12,6 @@
model="model">
-
-
-
-
\ No newline at end of file
+
diff --git a/modules/worker/front/routes.json b/modules/worker/front/routes.json
index a24cf9722..41d09ba4f 100644
--- a/modules/worker/front/routes.json
+++ b/modules/worker/front/routes.json
@@ -122,8 +122,8 @@
}, {
"url": "/department?q",
"state": "worker.department",
- "description":"Departments",
- "component": "vn-worker-department"
+ "component": "vn-worker-department",
+ "description":"Departments"
}, {
"url": "/:id",
"state": "worker.department.card",