From f3f93440649cc5a2061a46205622f29239b81d24 Mon Sep 17 00:00:00 2001 From: sajjad_talkhabi Date: Wed, 22 Dec 2021 00:51:49 +0330 Subject: [PATCH] fix --- src/components/ProgramSeries/Modals/AddSeriesModal.vue | 2 +- src/components/WorkoutsSeries/Item.vue | 7 ++----- src/components/WorkoutsSeries/Modals/AddWorkoutModal.vue | 4 ++++ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/ProgramSeries/Modals/AddSeriesModal.vue b/src/components/ProgramSeries/Modals/AddSeriesModal.vue index f4e1200..1f984a9 100644 --- a/src/components/ProgramSeries/Modals/AddSeriesModal.vue +++ b/src/components/ProgramSeries/Modals/AddSeriesModal.vue @@ -89,7 +89,7 @@ export default { rules: { required: (value) => !!value || "Required.", min: (v) => v <= 7 || "The value of this field must be less than 7", - zero: (v) => v === 0 || "The value of this field not be 0", + zero: (v) => v != 0 || "The value of this field not be 0", }, }), methods: { diff --git a/src/components/WorkoutsSeries/Item.vue b/src/components/WorkoutsSeries/Item.vue index 42e74bf..5aca1e7 100644 --- a/src/components/WorkoutsSeries/Item.vue +++ b/src/components/WorkoutsSeries/Item.vue @@ -40,7 +40,7 @@ > -
+
@@ -86,9 +86,6 @@ export default { }); }, }, - created() { - console.log(this.seriesWorkout); - } };