From 4db53af7ce66f37c08f1383b7d3355ad02c2c073 Mon Sep 17 00:00:00 2001 From: baldo Date: Tue, 23 Aug 2022 15:07:37 +0200 Subject: [PATCH] Use enum to identify routes. --- .../src/components/admin/StatisticsCard.vue | 18 ++++++--------- frontend/src/components/page/PageHeader.vue | 9 ++++---- frontend/src/router/index.ts | 21 ++++++++++++++---- frontend/src/views/AdminDashboardView.vue | 11 +++++----- frontend/src/views/AdminNodesView.vue | 22 ++++++++++--------- 5 files changed, 47 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/admin/StatisticsCard.vue b/frontend/src/components/admin/StatisticsCard.vue index 25b93f3..1bc5b1e 100644 --- a/frontend/src/components/admin/StatisticsCard.vue +++ b/frontend/src/components/admin/StatisticsCard.vue @@ -1,29 +1,25 @@ diff --git a/frontend/src/components/page/PageHeader.vue b/frontend/src/components/page/PageHeader.vue index 9581d27..e99e1b7 100644 --- a/frontend/src/components/page/PageHeader.vue +++ b/frontend/src/components/page/PageHeader.vue @@ -1,5 +1,6 @@ @@ -7,7 +8,7 @@ const config = useConfigStore();