This commit is contained in:
2020-07-22 23:43:42 +00:00
parent eaa64f1227
commit d961b93319
3 changed files with 15 additions and 3 deletions

View File

@@ -12,9 +12,12 @@ ____________
## CURRENT STAGE:
todo: open object link url not working at client, asks for login but then doesn't navigate like it should
todo: test notification in alternate language
todo: subscription form should autofill in user's personal email address when they pick a new email subscription but still let them change it
todo: subscription form still not completed, needs to be coded for when to show tags (for example) and other stuff
todo: Localize this message or get rid of it, it's annoying and possibly useless
"Error checking for notifications, see about->log for details; log out and back in again to reset "
todo: Back end notification related settings
GlobalOpsNotificationSettings (copy from backup settings)
SMTP creds, return address

View File

@@ -12,10 +12,18 @@ export default {
if (tid == null) {
let op = vm.$store.state.openObject;
//clear it out so it doesn't recur
window.$gz.store.commit("clearOpenObject");
if (op && op.type) {
tid = op;
window.$gz.store.commit("clearOpenObject");
} else return; //bail out, nothing to open here
} else {
//log it in case we need to see it in tech support
window.$gz.store.commit(
"logItem",
`Error: open object url was not valid, missing type or invalid type ${op}`
);
return; //bail out, nothing to open here
}
}
//NOTE: for new objects all edit pages assume record ID 0 means create rather than open

View File

@@ -306,6 +306,7 @@ export default {
);
})();
}
if (vm.$store.state.openObject != null) {
window.$gz.eventBus.$emit("openobject", null);
} else {