Start implementation of branches, new form element tabledropdown, model improvements
This commit is contained in:
@@ -87,7 +87,7 @@ const menuStructure = {
|
||||
},
|
||||
towns: {
|
||||
visible: ["hasfalukantaccount"],
|
||||
path: "/falukant/towns"
|
||||
path: "/falukant/branch"
|
||||
},
|
||||
directors: {
|
||||
visible: ["hasfalukantaccount"],
|
||||
@@ -117,6 +117,10 @@ const menuStructure = {
|
||||
visible: ["hasfalukantaccount"],
|
||||
path: "/falukant/education"
|
||||
},
|
||||
health: {
|
||||
visible: ["hasfalukantaccount"],
|
||||
path: "/falukant/health"
|
||||
},
|
||||
bank: {
|
||||
visible: ["hasfalukantaccount"],
|
||||
path: "/falukant/bank"
|
||||
@@ -238,7 +242,6 @@ class NavigationController {
|
||||
}
|
||||
|
||||
async filterMenu(menu, rights, age, userId) {
|
||||
console.log(userId);
|
||||
const filteredMenu = {};
|
||||
const hasFalukantAccount = await this.hasFalukantAccount(userId);
|
||||
for (const [key, value] of Object.entries(menu)) {
|
||||
|
||||
Reference in New Issue
Block a user