From 867be21f6802b93b35c83c2520157b3047d92002 Mon Sep 17 00:00:00 2001 From: baldo Date: Tue, 23 Aug 2022 19:08:39 +0200 Subject: [PATCH] ESLint: Auto format and fix some warnings / errors. --- frontend/src/App.vue | 8 +- .../{Spinner.vue => ActivityIndicator.vue} | 3 +- .../components/{Pager.vue => ListPager.vue} | 42 +- frontend/src/components/LoadingContainer.vue | 11 +- .../src/components/admin/StatisticsCard.vue | 15 +- frontend/src/components/form/ActionButton.vue | 13 +- frontend/src/components/form/ButtonGroup.vue | 6 +- frontend/src/components/form/RouteButton.vue | 16 +- .../src/components/form/ValidationForm.vue | 18 +- .../components/form/ValidationFormInput.vue | 18 +- .../nodes/NodeDeleteConfirmationForm.vue | 41 +- .../src/components/nodes/NodeDeleteForm.vue | 59 ++- .../src/components/nodes/NodeDeletedPanel.vue | 44 +- .../src/components/nodes/NodePreviewCard.vue | 29 +- .../src/components/nodes/NodesFilterPanel.vue | 103 ++-- .../src/components/page/PageContainer.vue | 3 +- frontend/src/components/page/PageFooter.vue | 17 +- frontend/src/components/page/PageHeader.vue | 9 +- frontend/src/components/table/SortTH.vue | 24 +- frontend/src/main.ts | 12 +- frontend/src/router/index.ts | 37 +- frontend/src/stores/config.ts | 11 +- frontend/src/stores/node.ts | 12 +- frontend/src/stores/nodes.ts | 25 +- frontend/src/stores/version.ts | 6 +- frontend/src/utils/Api.ts | 68 ++- frontend/src/utils/Numbers.ts | 15 +- frontend/src/views/AdminDashboardView.vue | 15 +- frontend/src/views/AdminNodesView.vue | 493 ++++++++++-------- frontend/src/views/HomeView.vue | 29 +- frontend/src/views/NodeDeleteView.vue | 20 +- frontend/vite.config.ts | 4 +- 32 files changed, 737 insertions(+), 489 deletions(-) rename frontend/src/components/{Spinner.vue => ActivityIndicator.vue} (93%) rename frontend/src/components/{Pager.vue => ListPager.vue} (67%) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a0ee679..4c48591 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,17 +1,17 @@ diff --git a/frontend/src/components/admin/StatisticsCard.vue b/frontend/src/components/admin/StatisticsCard.vue index 1449e80..0f8ff0c 100644 --- a/frontend/src/components/admin/StatisticsCard.vue +++ b/frontend/src/components/admin/StatisticsCard.vue @@ -1,8 +1,8 @@