fixed it, was actually the open object handler not comparing to null explicitly so zero was considered no ID at all

This commit is contained in:
2020-03-24 19:45:29 +00:00
parent 07c6d54c0b
commit c235451b80
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ export default {
//expects extra data (tid) to be { type: [AYATYPE], id: [RECORDID] }
//NOTE: for new objects all edit pages assume record ID 0 means create rather than open
if (tid.type && tid.id) {
if (tid.type && tid.id != null) {
switch (tid.type) {
case ayatype.Widget:
vm.$router.push({