This commit is contained in:
2022-02-23 17:44:21 +00:00
parent 631950691e
commit 81cd123300
4 changed files with 8 additions and 15 deletions

View File

@@ -79,14 +79,14 @@ import DashRegistry from "../api/dash-registry";
import GzDashTestBarWidgetCountByUserType from "../components/dash-test-bar-widget-count-by-usertype.vue";
import GzDashTestLineWidgetMonthlyTotalPrice from "../components/dash-test-line-widget-monthly-total-price.vue";
import GzDashTestDayCalendarWidget from "../components/dash-test-day-calendar-widget.vue";
import NextSchedItems from "../components/dash-scheduser-next-wo.vue";
import GzDashTodayScheduledWo from "../components/dash-today-scheduled-wo.vue";
export default {
components: {
//GzDashTestListWidgetsPriciest,
GzDashTestBarWidgetCountByUserType,
GzDashTestLineWidgetMonthlyTotalPrice,
GzDashTestDayCalendarWidget,
NextSchedItems
GzDashTodayScheduledWo
},
data() {
return {
@@ -116,7 +116,6 @@ export default {
const vm = this;
try {
console.log("abouty to cache");
await DashRegistry.cacheTranslationsForAvailableItems();
//users have full rights to their dashboard config
vm.rights = window.$gz.role.fullRightsObject();