Several fixes, improvements, refactor for authentication

This commit is contained in:
2024-12-27 19:00:53 +01:00
parent 9d0f810ab3
commit 18b07d2f46
20 changed files with 113 additions and 131 deletions

View File

@ -64,10 +64,7 @@ const filteredItems = computed(() => {
if (!searchQuery.value) {
return assetManagerStore.itemList
}
return assetManagerStore.itemList.filter((item) =>
item.name.toLowerCase().includes(searchQuery.value.toLowerCase()) ||
item.itemType.toLowerCase().includes(searchQuery.value.toLowerCase())
)
return assetManagerStore.itemList.filter((item) => item.name.toLowerCase().includes(searchQuery.value.toLowerCase()) || item.itemType.toLowerCase().includes(searchQuery.value.toLowerCase()))
})
const { list, containerProps, wrapperProps, scrollTo } = useVirtualList(filteredItems, {
@ -95,4 +92,4 @@ onMounted(() => {
assetManagerStore.setItemList(response)
})
})
</script>
</script>