From 05076eb367d7b488b903e50681e2398beb0cc3b8 Mon Sep 17 00:00:00 2001 From: Danil-Bodry Date: Mon, 27 Apr 2026 15:45:06 +0300 Subject: [PATCH] fix and refactor code --- frontend/jsconfig.json | 8 ----- frontend/src/App.vue | 2 +- frontend/src/components/Layout/AppLayout.vue | 18 ++++++------ frontend/src/locales/en.json | 2 +- frontend/src/locales/ru.json | 2 +- frontend/src/main.ts | 6 ++-- frontend/src/router/index.ts | 22 +++++++------- frontend/src/stores/user.ts | 4 +-- frontend/src/views/AdminSettings.vue | 24 ++++----------- frontend/src/views/Dashboard.vue | 16 +++++----- frontend/src/views/Profile.vue | 8 +++-- frontend/src/views/Restaurants.vue | 4 +-- frontend/src/views/Users.vue | 6 ++-- frontend/src/views/auth/Login.vue | 4 +-- frontend/tsconfig.json | 20 +++++++++++++ frontend/vite.config.ts | 5 ++++ .../java/su/xserver/iikocon/MainVerticle.java | 29 ++++++++----------- 17 files changed, 89 insertions(+), 91 deletions(-) delete mode 100644 frontend/jsconfig.json create mode 100644 frontend/tsconfig.json diff --git a/frontend/jsconfig.json b/frontend/jsconfig.json deleted file mode 100644 index 5a1f2d2..0000000 --- a/frontend/jsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "compilerOptions": { - "paths": { - "@/*": ["./src/*"] - } - }, - "exclude": ["node_modules", "dist"] -} diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 73d1e93..a6f7814 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -22,7 +22,7 @@ diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index 4d47e41..ada69b7 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -23,8 +23,8 @@
-

{{ t('dashboard.activeSessions') }}

-

{{ stats.activeSessions }}

+

{{ t('dashboard.totalRestaurants') }}

+

{{ stats.totalRestaurants }}

@@ -175,13 +175,13 @@