diff --git a/ayanova/src/api/dash-registry.js b/ayanova/src/api/dash-registry.js index ff6ecb36..30ff9114 100644 --- a/ayanova/src/api/dash-registry.js +++ b/ayanova/src/api/dash-registry.js @@ -59,7 +59,7 @@ export default { roles: [role.Tech, role.TechRestricted], title: "WorkOrderItemLaborServiceRateQuantity", icon: "$ayiChartLine", - type: "GzDashLaborHoursPersonal", + type: "GzDashLaborHoursPersonalLine", scheduleableUserOnly: true, singleOnly: false, settings: { @@ -87,32 +87,6 @@ export default { color: "#00205B" } } - // { - // roles: [ - // role.BizAdmin, - // role.BizAdminRestricted, - // role.Sales, - // role.SalesRestricted - // ], - // title: "TEST Bar chart widget", - // type: "GzDashTestBarWidgetCountByUserType", - // scheduleableUserOnly: false, - // singleOnly: false, - // settings: { customTitle: "my custom title" } - // }, - // { - // roles: [ - // role.BizAdmin, - // role.BizAdminRestricted, - // role.Sales, - // role.SalesRestricted - // ], - // title: "TEST Line chart widget", - // type: "GzDashTestLineWidgetMonthlyTotalPrice", - // scheduleableUserOnly: false, - // singleOnly: true, - // settings: {} - // } ], availableItems() { const ret = []; diff --git a/ayanova/src/components/dash-labor-hours-personal.vue b/ayanova/src/components/dash-labor-hours-personal-line.vue similarity index 100% rename from ayanova/src/components/dash-labor-hours-personal.vue rename to ayanova/src/components/dash-labor-hours-personal-line.vue diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index 0af9faee..378fed97 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -90,12 +90,12 @@ import GzDashTestLineWidgetMonthlyTotalPrice from "../components/dash-test-line- import GzDashTodayScheduledWo from "../components/dash-today-scheduled-wo.vue"; import GzDashTodayReminders from "../components/dash-today-reminders.vue"; import GzDashTodayReviews from "../components/dash-today-reviews.vue"; -import GzDashLaborHoursPersonal from "../components/dash-labor-hours-personal.vue"; +import GzDashLaborHoursPersonalLine from "../components/dash-labor-hours-personal-line.vue"; import GzDashLaborHoursPersonalBar from "../components/dash-labor-hours-personal-bar.vue"; export default { components: { - GzDashLaborHoursPersonal, + GzDashLaborHoursPersonalLine, GzDashLaborHoursPersonalBar, GzDashTestBarWidgetCountByUserType, GzDashTestLineWidgetMonthlyTotalPrice,