From 1a2486477a9acdddc7c8ea09ad7e99ac907f843c Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Fri, 3 Nov 2023 14:12:09 +0100 Subject: [PATCH] feat: Change Reset Filter in Program Selector Drawer to Overall - MEED-2842 - Meeds-io/MIPs#100 (#1295) --- .../components/ProgramSelectorDrawer.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/portlets/src/main/webapp/vue-app/usersLeaderboardCommon/components/ProgramSelectorDrawer.vue b/portlets/src/main/webapp/vue-app/usersLeaderboardCommon/components/ProgramSelectorDrawer.vue index 2214f1fd8a..14cef40868 100644 --- a/portlets/src/main/webapp/vue-app/usersLeaderboardCommon/components/ProgramSelectorDrawer.vue +++ b/portlets/src/main/webapp/vue-app/usersLeaderboardCommon/components/ProgramSelectorDrawer.vue @@ -50,7 +50,7 @@ class="dark-grey-color px-0 hidden-xs-only" text outlined - @click="reset"> + @click="resetFilter"> fa-redo {{ $t('challenge.button.resetFilter') }} @@ -111,6 +111,9 @@ export default { this.$emit('input', this.programId); this.close(); }, + resetFilter() { + this.programId = '0'; + }, reset() { this.programId = this.value; },