Add Action Filters

Fix LibrarySelect for the 100th time
This commit is contained in:
2025-10-17 00:08:36 +02:00
parent 90dd1d050d
commit 71e405d6e0
6 changed files with 25 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
<USelect
v-else
v-model="library"
:default-value="libraryId ?? undefined"
placeholder="Library"
icon="i-lucide-library-big"
color="secondary"
@@ -35,8 +36,8 @@ export interface LibrarySelectProps {
const props = defineProps<LibrarySelectProps>();
const library = ref(props.libraryId);
const { data: libraries } = await useApi('/v2/FileLibrary', { key: FetchKeys.FileLibraries });
const library = ref();
const { data: libraries } = await useApi('/v2/FileLibrary');
const loading = ref(false);
const onLibrarySelectChange = async () => {