mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-18 11:20:46 +02:00
Add Action Filters
Fix LibrarySelect for the 100th time
This commit is contained in:
@@ -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 () => {
|
||||
|
@@ -18,6 +18,9 @@
|
||||
<p v-if="title" class="text-2xl text-primary font-semibold">{{ title }}</p>
|
||||
</slot>
|
||||
</div>
|
||||
<div class="flex flew-row gap-2">
|
||||
<slot name="center" />
|
||||
</div>
|
||||
<div class="flex flew-row gap-2">
|
||||
<slot name="actions" />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user