This commit is contained in:
2020-04-09 22:42:29 +00:00
parent 20cb6a5cf4
commit baadc9c3c2
4 changed files with 8 additions and 5 deletions

View File

@@ -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