From b860dfc791d80c4562cd1ce27f137e5d7a6a2ca0 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 5 Dec 2022 17:30:15 -0600 Subject: [PATCH] Fix:Library filter by progress #451 --- components/modals/FilterModal.vue | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/components/modals/FilterModal.vue b/components/modals/FilterModal.vue index 901b30ea..6ac4665f 100644 --- a/components/modals/FilterModal.vue +++ b/components/modals/FilterModal.vue @@ -3,7 +3,6 @@
@@ -174,7 +173,24 @@ export default { return this.filterData.languages || [] }, progress() { - return ['Finished', 'In Progress', 'Not Started', 'Not Finished'] + return [ + { + id: 'finished', + name: 'Finished' + }, + { + id: 'in-progress', + name: 'In Progress' + }, + { + id: 'not-started', + name: 'Not Started' + }, + { + id: 'not-finished', + name: 'Not Finished' + } + ] }, sublistItems() { return (this[this.sublist] || []).map((item) => {