- Adding map page (where is the location) #100

- fix menu appear Admin and Manager
This commit is contained in:
Paolo Arena
2019-11-17 01:07:23 +01:00
parent c2f9fb6937
commit ca7ee49944
22 changed files with 121 additions and 1816 deletions

View File

@@ -1373,6 +1373,12 @@ export const tools = {
return result
},
visumenu(elem) { // : IListRoutes
return (elem.onlyAdmin && UserStore.state.isAdmin) || (elem.onlyManager && UserStore.state.isManager)
|| ((!elem.onlyAdmin) && (!elem.onlyManager))
},
executefunc(myself: any, table, func: number, par: IParamDialog) {
if (func === lists.MenuAction.DELETE) {
console.log('param1', par.param1)