This commit is contained in:
@@ -49,8 +49,6 @@ CURRENT TODOs
|
||||
|
||||
@@@@@@@@@@@ ROADMAP STAGE 2:
|
||||
|
||||
todo: HUGE layout - go through all forms set browser to 4k ultra hd and see where things line up
|
||||
|
||||
todo: widgets list form needs search link
|
||||
|
||||
todo: if (res.error != undefined) could be changed to if(res.error) everywhere
|
||||
|
||||
@@ -122,7 +122,8 @@ export default {
|
||||
vm.appBar.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
//SEARCH
|
||||
if (isCoreBizObject && ctx.icon != "fa-search") {
|
||||
//all forms except the search form
|
||||
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.translation.get("Search"),
|
||||
|
||||
@@ -124,6 +124,7 @@ export default {
|
||||
vm.formState.ready = true;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
generateMenu(vm);
|
||||
|
||||
if (vm.$route.params.ayatype) {
|
||||
vm.searchObjectType = vm.$route.params.ayatype;
|
||||
}
|
||||
@@ -135,7 +136,7 @@ export default {
|
||||
if (savedSettings && savedSettings.temp) {
|
||||
savedSettings = savedSettings.temp;
|
||||
if (
|
||||
vm.searchObjectType == 0 ||
|
||||
vm.searchObjectType == null ||
|
||||
vm.searchObjectType == savedSettings.ayaType
|
||||
) {
|
||||
//same type or no type so go ahead and rehydrate
|
||||
|
||||
@@ -76,7 +76,10 @@ function generateMenu(vm) {
|
||||
icon: "fa-vial",
|
||||
title: vm.$ay.t("WidgetList"),
|
||||
helpUrl: "form-ay-data-list-view",
|
||||
menuItems: []
|
||||
menuItems: [],
|
||||
formData: {
|
||||
ayaType: window.$gz.type.Widget
|
||||
}
|
||||
};
|
||||
|
||||
if (vm.rights.change) {
|
||||
|
||||
Reference in New Issue
Block a user