From 0df9ba50bb0f27d25842676bdfd9b3a4f033430f Mon Sep 17 00:00:00 2001 From: Hrishikesh Kokate Date: Thu, 29 Dec 2022 19:04:00 +0530 Subject: [PATCH] fix --- .gitignore | 1 + src/components/Filter.vue | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a547bf3..f2ca73c 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +.idea \ No newline at end of file diff --git a/src/components/Filter.vue b/src/components/Filter.vue index 247c81a..14baa96 100644 --- a/src/components/Filter.vue +++ b/src/components/Filter.vue @@ -49,7 +49,7 @@ function setHeroFilter() { filterStore.secondLocation = null filterStore.thirdLocation = null - let zodiac = (_.find(heroes, {"id": this.selectedHero}).zodiac) + let zodiac = (_.find(heroes, {"id": selectedHero.value}).zodiac) filterStore.$patch({selectedZodiac: zodiac}) filterStore.$patch({ @@ -150,5 +150,4 @@ function handleClear() { - - + \ No newline at end of file