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