This commit is contained in:
2022-02-23 01:02:17 +00:00
parent e77c8283f5
commit 384c5f6869
4 changed files with 91 additions and 88 deletions

View File

@@ -24,7 +24,7 @@
:key="item.id"
@click="addItem(item)"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
<v-list-item-title>{{ $ay.t(item.title) }}</v-list-item-title>
</v-list-item>
</v-list>
</v-card-text>
@@ -114,27 +114,10 @@ export default {
},
async created() {
const vm = this;
//------------------
//Test ui feedback mechanisms here:
//this.formState.errorBoxMessage = "This is a test crlf\r\nOnly a test lf\nEot";
// await window.$gz.dialog.displayLTModalNotificationMessage(
// "ViewServerConfiguration",
// "Dashboard",
// "success",
// "https://www.ayanova.com/subscriptionexpired.htm"
// );
// window.$gz.eventBus.$emit(
// "notify-error",
// "This is a test crlf\r\nOnly a test lf\nEot",
// "https://www.ayanova.com/subscriptionexpired.htm"
// );
//------------------------
try {
//keeping in case need later for some localized text or something
// await initForm(vm);
console.log("abouty to cache");
await DashRegistry.cacheTranslationsForAvailableItems();
//users have full rights to their dashboard config
vm.rights = window.$gz.role.fullRightsObject();
vm.formState.readOnly = false;