This commit is contained in:
@@ -235,7 +235,7 @@ async function clickHandler(menuItem) {
|
||||
case "refresh":
|
||||
await m.vm.getDataFromApi();
|
||||
break;
|
||||
// case "extensions":
|
||||
// case "directnotify":
|
||||
// let res = await m.vm.$refs.extensions.open();
|
||||
// break;
|
||||
|
||||
@@ -284,12 +284,12 @@ function generateMenu(vm) {
|
||||
// vm: vm
|
||||
// });
|
||||
|
||||
// menuOptions.menuItems.push({
|
||||
// title: "Extensions",
|
||||
// icon: "fa-puzzle-piece",
|
||||
// key: FORM_KEY + ":extensions",
|
||||
// vm: vm
|
||||
// });
|
||||
menuOptions.menuItems.push({
|
||||
title: "DirectNotification",
|
||||
icon: "fa-comment-alt",
|
||||
data: "home-notify-direct",
|
||||
key: "app:nav"
|
||||
});
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
}
|
||||
/////////////////////////////////
|
||||
@@ -308,7 +308,8 @@ async function fetchTranslatedText(vm) {
|
||||
await window.$gz.translation.cacheTranslations([
|
||||
"NotifySubscription",
|
||||
"Server",
|
||||
"Notifications"
|
||||
"Notifications",
|
||||
"DirectNotification"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user