From 1faaf12de4f000244547b6917b791df8b983b377 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Wed, 16 Feb 2022 16:16:15 +0800 Subject: [PATCH] fix(webui): restore library alphabetical navigation from url --- .../src/components/AlphabeticalNavigation.vue | 3 +- komga-webui/src/views/BrowseLibraries.vue | 38 ++++++++++--------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/komga-webui/src/components/AlphabeticalNavigation.vue b/komga-webui/src/components/AlphabeticalNavigation.vue index bfea99e06..9f8e9cb8e 100644 --- a/komga-webui/src/components/AlphabeticalNavigation.vue +++ b/komga-webui/src/components/AlphabeticalNavigation.vue @@ -13,10 +13,9 @@ icon @click="clicked(symbol)" :color="selected === symbol ? 'secondary' : undefined" - :disabled="groupCount ? getCount(symbol) === 0 : false" + :disabled="groupCount && selected !== symbol ? getCount(symbol) === 0 : false" v-on="on" > - {{ symbol }} diff --git a/komga-webui/src/views/BrowseLibraries.vue b/komga-webui/src/views/BrowseLibraries.vue index 47030b8af..064775bf9 100644 --- a/komga-webui/src/views/BrowseLibraries.vue +++ b/komga-webui/src/views/BrowseLibraries.vue @@ -69,6 +69,14 @@ + +