This commit is contained in:
@@ -122,16 +122,16 @@ export default {
|
||||
});
|
||||
}
|
||||
|
||||
//PLUGINS - for anything with a type but not necessarily an ID
|
||||
if (!UTILITY_TYPES.includes(formAyaType)) {
|
||||
vm.appBar.menuItems.push({
|
||||
title: "More",
|
||||
icon: "fa-puzzle-piece",
|
||||
key: "app:plugin",
|
||||
data: formAyaType,
|
||||
recordId: formRecordId
|
||||
});
|
||||
}
|
||||
// //PLUGINS - for anything with a type but not necessarily an ID
|
||||
// if (!UTILITY_TYPES.includes(formAyaType)) {
|
||||
// vm.appBar.menuItems.push({
|
||||
// title: "More",
|
||||
// icon: "fa-puzzle-piece",
|
||||
// key: "app:plugin",
|
||||
// data: formAyaType,
|
||||
// recordId: formRecordId
|
||||
// });
|
||||
// }
|
||||
|
||||
//CUSTOMIZE
|
||||
//set custom fields and link to translation text editor
|
||||
@@ -292,12 +292,9 @@ export default {
|
||||
// params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
|
||||
// });
|
||||
// break;
|
||||
// case "wiki":
|
||||
// vm.$router.push({
|
||||
// name: "ay-wiki",
|
||||
// params: { ayatype: item.data.ayaType, recordid: item.data.recordId }
|
||||
// });
|
||||
// break;
|
||||
case "plugin":
|
||||
alert("STUB: plugin / more");
|
||||
break;
|
||||
case "review":
|
||||
vm.$router.push({
|
||||
name: "ay-review",
|
||||
|
||||
@@ -722,7 +722,13 @@ function initNavPanel() {
|
||||
}
|
||||
|
||||
//*** EVALUATION active trial license should always go to evaluation as home page
|
||||
if (licenseState == 1) {
|
||||
//as long as they are a normal User type and not a customer or subcontractor type
|
||||
if (
|
||||
(licenseState == 1) &
|
||||
(window.$gz.store.state.userType == 1 ||
|
||||
window.$gz.store.state.userType == 2 ||
|
||||
window.$gz.store.state.userType == 3)
|
||||
) {
|
||||
addNavItem(
|
||||
"Evaluate",
|
||||
"fa-rocket",
|
||||
|
||||
Reference in New Issue
Block a user