From 4c262ba076e004ef4ae8321b11b92ed12950a7b9 Mon Sep 17 00:00:00 2001 From: roberts Date: Sun, 21 May 2023 00:40:42 +0200 Subject: [PATCH] added a remove button and fixed a bug where the input component was added to the view instead of getting a new one for the specifig exercise --- src/components/ExerciseList.vue | 33 +++++++++++++---------- src/components/NavigationModel.vue | 1 + src/stores/{store.js => storeExercise.js} | 10 +++---- src/stores/storeInput.js | 22 ++++++++------- src/views/weight/WeightsInput.vue | 32 ++++++++++++++++++++++ 5 files changed, 69 insertions(+), 29 deletions(-) rename src/stores/{store.js => storeExercise.js} (59%) diff --git a/src/components/ExerciseList.vue b/src/components/ExerciseList.vue index b548c94..3022fb9 100644 --- a/src/components/ExerciseList.vue +++ b/src/components/ExerciseList.vue @@ -1,20 +1,24 @@