This commit is contained in:
2020-04-20 19:09:46 +00:00
parent dbeb874103
commit 397abc4220
3 changed files with 16 additions and 19 deletions

View File

@@ -65,9 +65,11 @@ CURRENT TODOs
@@@@@@@@@@@ ROADMAP STAGE 2:
todo: enter new tag in widget doesn't trigger dirty?
todo: Not sure I like not being able to logout from a widget edit form
- put back?
- Put in nav menu to left (seems logical that way) and remove from any other menu
- as bottom option
todo: Test widget form as bizamdinlimited read only mode because I think several things are not right in read only mode
- remove clear button and option if read only
- make sure can't use any of the controls the make changes
@@ -78,10 +80,7 @@ todo: bug regression, customize form shows dirty immediately after good save?
todo: BUG Something fucked with history? When I click on a widget's history button in admin user history view it shows two created record with differing timestamps
- note, it doesn't seem to do it on the most recent widgets, but only on the first few created for some reason?!
todo: Not sure I like not being able to logout from a widget edit form
- put back?
- Put in nav menu to left (seems logical that way) and remove from any other menu
- as bottom option
todo: would like to see who I'm logged in as at all times
- In menu instead of "Home" text?
- In status bar at bottom?

View File

@@ -165,15 +165,6 @@ export default {
data: "ay-about"
});
}
//LOGOUT
if (!isCoreBizObject) {
vm.appBar.menuItems.push({
title: window.$gz.translation.get("Logout"),
icon: "fa-sign-out-alt",
key: "app:logout"
});
}
},
///////////////////////////////
// CHANGE HANDLER
@@ -266,9 +257,6 @@ export default {
params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
});
break;
case "logout":
vm.$router.push("/login");
break;
case "customize":
vm.$router.push({
name: "ay-customize",

View File

@@ -737,6 +737,16 @@ export default function initialize() {
"homecustomer"
);
}
//*** LOGOUT - all users
addNavItem(
t("Logout"),
"fa-sign-out-alt",
"/login",
[],
key++,
"logout"
);
})
.then(() => {
//GET USER OPTIONS