This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user