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

@@ -16,7 +16,7 @@ export default {
{
id: "NextSchedItems",
roles: [role.Tech, role.TechRestricted],
title: "TEST sched user widget",
title: "DashboardScheduled",
type: "NextSchedItems",
scheduleableUserOnly: true
},
@@ -74,5 +74,9 @@ export default {
}
}
return ret;
},
async cacheTranslationsForAvailableItems() {
const items = this.availableItems();
await window.$gz.translation.cacheTranslations(items.map(z => z.title));
}
};