From 66c8d2139b394c8616c428ac96ffb525e9cfee46 Mon Sep 17 00:00:00 2001 From: sajjad Date: Wed, 24 Nov 2021 20:21:51 +0330 Subject: [PATCH] fix --- src/App.vue | 13 ++- .../repository/bookmarkRepository.js | 1 - src/components/Dashboard/Main.vue | 103 +++++++++++------- src/components/Global/Section/Box.vue | 4 +- src/components/Global/Section/SideBar.vue | 11 +- src/components/Programs/Item.vue | 3 - src/components/Programs/Main.vue | 24 ++-- .../Programs/Modals/FiltersModal.vue | 6 - src/components/TrainPrograms/Main.vue | 45 +++----- src/components/Users/Item.vue | 3 - src/components/Users/Main.vue | 41 ++++--- .../Users/Modals/ChangeRoleModal.vue | 17 +-- src/components/Users/Modals/FiltersModal.vue | 22 ++-- src/components/Workouts/Main.vue | 42 +++---- src/components/WorkoutsSeries/Item.vue | 3 - src/router/index.js | 8 +- src/router/path.js | 56 +++++++--- src/store/modules/programs/actions.js | 3 + src/store/modules/programs/getters.js | 3 +- src/store/modules/programs/mutations.js | 10 +- src/store/modules/programs/state.js | 3 +- src/store/modules/users/actions.js | 4 +- src/store/modules/users/getters.js | 3 +- src/store/modules/users/mutations.js | 7 +- src/store/modules/users/state.js | 3 +- src/store/modules/workouts/actions.js | 3 + src/store/modules/workouts/getters.js | 3 +- src/store/modules/workouts/mutations.js | 7 ++ src/store/modules/workouts/state.js | 3 +- src/views/Login.vue | 8 +- src/views/Register.vue | 15 ++- src/views/Users.vue | 7 ++ 32 files changed, 274 insertions(+), 210 deletions(-) diff --git a/src/App.vue b/src/App.vue index b9909d2..40b99dd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,7 @@ diff --git a/src/abstraction/repository/bookmarkRepository.js b/src/abstraction/repository/bookmarkRepository.js index 01cfde4..82434fb 100644 --- a/src/abstraction/repository/bookmarkRepository.js +++ b/src/abstraction/repository/bookmarkRepository.js @@ -18,7 +18,6 @@ export default class BookmarkRepository { } } async deleteBookmark(bookmarkId) { - console.log(bookmarkId); await axios.delete(url("destroyBookmark", { bookmark: bookmarkId })); } } \ No newline at end of file diff --git a/src/components/Dashboard/Main.vue b/src/components/Dashboard/Main.vue index f61111b..d814e10 100644 --- a/src/components/Dashboard/Main.vue +++ b/src/components/Dashboard/Main.vue @@ -10,8 +10,8 @@
- here is dashboard home, feel free navigate from right side menu - or choose from shortcuts we prepared for you. + here is dashboard home, feel free navigate from right side menu or choose + from shortcuts we prepared for you.
@@ -25,13 +25,13 @@
- +
- +
- +
@@ -40,8 +40,8 @@
- and here is some state we hope it gives you a great overview of - your status + and here is some state we hope it gives you a great overview of your + status
@@ -50,30 +50,22 @@ @@ -87,8 +79,8 @@
- here is your dashboard home, feel free navigate from right side - menu or choose from shortcuts we prepared for you. + here is your dashboard home, feel free navigate from right side menu or + choose from shortcuts we prepared for you.
@@ -114,8 +106,8 @@
- and here is some stats we hope it gives you a great overview of - your status + and here is some stats we hope it gives you a great overview of your + status
@@ -125,9 +117,7 @@
@@ -135,9 +125,7 @@
@@ -153,8 +141,8 @@
- here is your dashboard home, feel free navigate from right side - menu or choose from shortcuts we prepared for you. + here is your dashboard home, feel free navigate from right side menu or + choose from shortcuts we prepared for you.
@@ -165,7 +153,7 @@
- +
@@ -177,8 +165,8 @@
- and here is some stats we hope it gives you a great overview of - your status + and here is some stats we hope it gives you a great overview of your + status
@@ -189,9 +177,7 @@
@@ -201,9 +187,7 @@ @@ -213,13 +197,14 @@ - + \ No newline at end of file diff --git a/src/components/Programs/Item.vue b/src/components/Programs/Item.vue index 636d4a8..9c4b8c6 100644 --- a/src/components/Programs/Item.vue +++ b/src/components/Programs/Item.vue @@ -85,9 +85,6 @@ export default { methods: { ...mapActions("programs", ["verifyProgram", "deleteProgram"]), }, - created() { - console.log(this.program); - }, };