From 197b9d7d029c6669cccfb4c4fc183d62fed45de6 Mon Sep 17 00:00:00 2001 From: Larsluph <22910497+Larsluph@users.noreply.github.com> Date: Thu, 2 Nov 2023 22:43:00 +0100 Subject: [PATCH] perf(filters): Reorder states --- .../Navbar/SideWidgets/FilterSelect.vue | 54 +++++++++---------- src/constants/qbit/TorrentState.ts | 48 ++++++++--------- src/locales/en.json | 26 ++++----- 3 files changed, 64 insertions(+), 64 deletions(-) diff --git a/src/components/Navbar/SideWidgets/FilterSelect.vue b/src/components/Navbar/SideWidgets/FilterSelect.vue index bab31873..c0168369 100644 --- a/src/components/Navbar/SideWidgets/FilterSelect.vue +++ b/src/components/Navbar/SideWidgets/FilterSelect.vue @@ -12,7 +12,7 @@ const { statusFilter, categoryFilter, tagFilter, trackerFilter } = toRefs(filter const vueTorrentStore = useVueTorrentStore() const statuses = computed(() => Object.values(TorrentState).map(state => ( - { title: t(`torrent.state.${ state }`), value: state } + { title: t(`torrent.state.${ state }`), value: state } ))) const categories = computed(() => [ { title: t('navbar.side.filters.uncategorized'), value: '' }, @@ -50,8 +50,8 @@ function selectAllTrackers() { {{ t('navbar.side.filters.state') }} -