This commit is contained in:
2020-01-02 22:24:31 +00:00
parent 1ff0910891
commit f2e4c758b0
2 changed files with 9 additions and 9 deletions

View File

@@ -50,9 +50,6 @@ SHELL / NAV / MENUS / LAYOUT
TODO: Search option appears in menu on Search page. :)
TODO: Upgrade front and back end libs / tools / frameworks
- is .net 3.1 released yet? Jesus! :)
- Vue / vuetify etc
TODO: Enforce role rights for menu items once it's stubbed out

View File

@@ -107,12 +107,15 @@ export default {
vm.appBar.menuItems.push({ divider: true, inset: false });
//SEARCH
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Search"),
icon: "search",
key: "app:search",
data: formAyaType
});
if (ctx.icon != "fa-search") {
//For all forms but not on the search form itself; if this is necessary for others then make a nosearch or something flag controlled by incoming ctx but if not then this should suffice
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Search"),
icon: "search",
key: "app:search",
data: formAyaType
});
}
//HELP
vm.appBar.menuItems.push({