fix(front): minor improvements

This commit is contained in:
upsiflu 2025-03-24 22:04:36 +01:00
parent 8267a3e716
commit 465010d3ea
3 changed files with 4 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import Loader from '~/components/ui/Loader.vue'
const props = defineProps<{
thinFont?: true
lowHeight? : true
lowHeight?: true
isActive?: boolean
isLoading?: boolean

View File

@ -1,5 +1,4 @@
import type { NodeInfo } from '~/store/instance'
import type { schemas } from '~/generated/types'
import type { components } from '~/generated/types'
import type { InitModule } from '~/types'
import { whenever } from '@vueuse/core'
@ -16,7 +15,7 @@ export const install: InitModule = async ({ store, router }) => {
const fetchNodeInfo = async () => {
try {
const [{ data }] = await Promise.all([
axios.get<schemas['NodeInfo20']>('instance/nodeinfo/2.1/'),
axios.get<components['schemas']['NodeInfo20']>('instance/nodeinfo/2.1/'),
store.dispatch('instance/fetchSettings')
])

View File

@ -125,7 +125,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
text: t('views.playlists.List.button.manage'),
primary: true,
icon: 'bi-music-note-list',
ariaPressed: store.state.playlists.showModal
ariaPressed: store.state.playlists.showModal || undefined
}"
/>
<Header