fix(ui): fixing errors

This commit is contained in:
ArneBo 2024-12-13 12:30:58 +01:00 committed by upsiflu
parent f3a7be03ed
commit 6d06d9514d
5 changed files with 6 additions and 9 deletions

View File

@ -338,7 +338,7 @@ fetchOwnedApps()
/> />
</div> </div>
<Button <Button
is-loading="true" :is-loading="isLoading"
type="submit" type="submit"
> >
{{ t('components.auth.Settings.button.updateSettings') }} {{ t('components.auth.Settings.button.updateSettings') }}

View File

@ -260,7 +260,6 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
<Modal <Modal
v-model:show="showSubscribeModal" v-model:show="showSubscribeModal"
title="t('components.library.Podcasts.modal.subscription.header')" title="t('components.library.Podcasts.modal.subscription.header')"
<!-- class="tiny" TODO: check if necessary -->
> >
<div <div
ref="modalContent" ref="modalContent"

View File

@ -22,7 +22,7 @@ const handleClick = (event: MouseEvent) => {
<slot name="image" /> <slot name="image" />
</div> </div>
<div class="pill-content"> <div class="pill-content">
<slot /> <slot name="pill-content" />
</div> </div>
</button> </button>
</template> </template>

View File

@ -38,9 +38,9 @@ const uploads = useUploadsStore()
color="secondary" color="secondary"
variant="ghost" variant="ghost"
/> />
//TODO: Replace button with link because navigate is not working on new Button
<RouterLink to="/upload" custom v-slot="{ navigate, isExactActive }"> <RouterLink to="/upload" custom v-slot="{ navigate, isExactActive }">
<Button <button
icon="bi:upload" icon="bi:upload"
color="secondary" color="secondary"
variant="ghost" variant="ghost"
@ -59,7 +59,7 @@ const uploads = useUploadsStore()
/> />
</div> </div>
</Transition> </Transition>
</Button> </button>
</RouterLink> </RouterLink>
<Button <Button

View File

@ -68,14 +68,12 @@ fetchLibraries()
fetchChannels() fetchChannels()
const libraryCreated = (library: Library) => { const libraryCreated = (library: Library) => {
router.SpEush({ name: 'library.detail', params: { id: library.uuid } }) router.push({ name: 'library.detail', params: { id: library.uuid } })
} }
// LIBRARIES END // LIBRARIES END
const { t } = useI18n()
const labels = computed(() => ({ const labels = computed(() => ({
title: t('views.content.Home.title') title: t('views.content.Home.title')
})) }))