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: @@@@@@@@@@@ ROADMAP STAGE 2:
todo: Not sure I like not being able to logout from a widget edit form
todo: enter new tag in widget doesn't trigger dirty? - 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 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 - remove clear button and option if read only
- make sure can't use any of the controls the make changes - 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 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?! - 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 todo: would like to see who I'm logged in as at all times
- In menu instead of "Home" text? - In menu instead of "Home" text?
- In status bar at bottom? - In status bar at bottom?

View File

@@ -165,15 +165,6 @@ export default {
data: "ay-about" 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 // CHANGE HANDLER
@@ -266,9 +257,6 @@ export default {
params: { ayatype: item.data.ayaType, recordid: item.data.recordId } params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
}); });
break; break;
case "logout":
vm.$router.push("/login");
break;
case "customize": case "customize":
vm.$router.push({ vm.$router.push({
name: "ay-customize", name: "ay-customize",

View File

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