From bd008c5961b8ac5333b6c4edfb039129af3ddc6d Mon Sep 17 00:00:00 2001 From: roberts Date: Fri, 5 May 2023 12:36:48 +0200 Subject: [PATCH] added comments for sourcing of code --- src/components/ExerciseList.vue | 6 ++++-- src/components/NavigationModel.vue | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/ExerciseList.vue b/src/components/ExerciseList.vue index 9d565d4..48c11b1 100644 --- a/src/components/ExerciseList.vue +++ b/src/components/ExerciseList.vue @@ -1,9 +1,9 @@ @@ -44,6 +44,8 @@ onMounted(async () => { } } ) + + // filter exercises with help from https://blog.logrocket.com/create-search-bar-vue/ last accessed 05.05.2023 let input = ref(''); function filterExercises(){ return exercises.value.filter((exercise) => { diff --git a/src/components/NavigationModel.vue b/src/components/NavigationModel.vue index fdeeed5..da247cb 100644 --- a/src/components/NavigationModel.vue +++ b/src/components/NavigationModel.vue @@ -19,6 +19,7 @@