diff --git a/komga-webui/src/components/dialogs/CollectionAddToDialog.vue b/komga-webui/src/components/dialogs/CollectionAddToDialog.vue index d8afaa8f4..c611816de 100644 --- a/komga-webui/src/components/dialogs/CollectionAddToDialog.vue +++ b/komga-webui/src/components/dialogs/CollectionAddToDialog.vue @@ -19,7 +19,7 @@ @@ -38,8 +38,8 @@ - -
+
{{ c.seriesIds.length }} series - +
+ + + No matching collection + @@ -125,6 +133,9 @@ export default Vue.extend({ return 'A collection with this name already exists' } else return '' }, + collectionsFiltered (): CollectionDto[] { + return this.collections.filter((x: CollectionDto) => x.name.toLowerCase().includes(this.newCollection.toLowerCase())) + }, }, methods: { dialogClose () { diff --git a/komga-webui/src/components/dialogs/ReadListAddToDialog.vue b/komga-webui/src/components/dialogs/ReadListAddToDialog.vue index e75be329c..dc08e7731 100644 --- a/komga-webui/src/components/dialogs/ReadListAddToDialog.vue +++ b/komga-webui/src/components/dialogs/ReadListAddToDialog.vue @@ -19,7 +19,7 @@ @@ -38,8 +38,8 @@ - -
+
{{ c.bookIds.length }} books - +
+ + + No matching readlist + @@ -126,6 +134,9 @@ export default Vue.extend({ return 'A read list with this name already exists' } else return '' }, + readListsFiltered (): ReadListDto[] { + return this.readLists.filter((x: ReadListDto) => x.name.toLowerCase().includes(this.newReadList.toLowerCase())) + }, }, methods: { dialogClose () {