removed standalone wiki and attachments forms and menu links

This commit is contained in:
2020-04-19 21:59:58 +00:00
parent 128332eb19
commit bdd2fda823
4 changed files with 27 additions and 80 deletions

View File

@@ -54,19 +54,19 @@ export default {
//Not utility type objects like datalist etc
//there will be few exceptions so they will be coded in later if needed but assume anything with an id and a type
if (isCoreBizObject) {
vm.appBar.menuItems.push({
title: window.$gz.translation.get("Attachments"),
icon: "fa-paperclip",
key: "app:attachments",
data: { ayaType: formAyaType, recordId: formRecordId }
});
// vm.appBar.menuItems.push({
// title: window.$gz.translation.get("Attachments"),
// icon: "fa-paperclip",
// key: "app:attachments",
// data: { ayaType: formAyaType, recordId: formRecordId }
// });
vm.appBar.menuItems.push({
title: window.$gz.translation.get("WikiPage"),
icon: "fa-feather",
key: "app:wiki",
data: { ayaType: formAyaType, recordId: formRecordId }
});
// vm.appBar.menuItems.push({
// title: window.$gz.translation.get("WikiPage"),
// icon: "fa-feather",
// key: "app:wiki",
// data: { ayaType: formAyaType, recordId: formRecordId }
// });
//"Review" was follow up type of schedule marker
//basically it's now a "Reminder" type of object but it's own thing with separate collection
@@ -242,18 +242,18 @@ export default {
params: { ayatype: item.data }
});
break;
case "attachments":
vm.$router.push({
name: "ay-attachments",
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 "attachments":
// vm.$router.push({
// name: "ay-attachments",
// 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 "review":
vm.$router.push({
name: "ay-review",