From 14a693b6970a485c6b833fa27d53033e57213fd6 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 3 Oct 2023 16:19:27 +0200 Subject: [PATCH] Highlight selected sort in results sort dropdown [SCI-9428] --- app/javascript/vue/results/results_toolbar.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/vue/results/results_toolbar.vue b/app/javascript/vue/results/results_toolbar.vue index fff7490bb..4f413d18c 100644 --- a/app/javascript/vue/results/results_toolbar.vue +++ b/app/javascript/vue/results/results_toolbar.vue @@ -112,7 +112,8 @@ return { text: this.i18n.t(`my_modules.results.sorts.${sort}`), emit: 'sort', - params: sort + params: sort, + active: sort == this.sort } }) }