From 8ca5f33ba214e140cb2067fc25e9f999451bae1f Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Tue, 20 Dec 2022 08:57:41 +0100 Subject: [PATCH] add trailing commas and refactor import --- src/pages/Worker/WorkerList.vue | 2 +- src/router/modules/worker.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index 90a14d96d..96918ecb2 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -2,7 +2,7 @@ import { useI18n } from 'vue-i18n'; import { useRouter } from 'vue-router'; import { useQuasar } from 'quasar'; -import Paginate from 'src/components/Paginate.vue'; +import Paginate from 'src/components/PaginateData.vue'; import WorkerSummaryDialog from './Card/WorkerSummaryDialog.vue'; const router = useRouter(); diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js index d5703d04b..2aeacfa88 100644 --- a/src/router/modules/worker.js +++ b/src/router/modules/worker.js @@ -5,7 +5,7 @@ export default { path: '/worker', meta: { title: 'workers', - icon: 'vn:worker' + icon: 'vn:worker', }, component: RouterView, redirect: { name: 'WorkerMain' }, @@ -25,7 +25,7 @@ export default { }, component: () => import('src/pages/Worker/WorkerList.vue'), }, - ] + ], }, { name: 'WorkerCard', @@ -37,11 +37,11 @@ export default { name: 'WorkerSummary', path: 'summary', meta: { - title: 'summary' + title: 'summary', }, component: () => import('src/pages/Worker/Card/WorkerSummary.vue'), }, - ] + ], }, - ] + ], };