fix(front): minor improvements
This commit is contained in:
parent
8267a3e716
commit
465010d3ea
|
@ -9,7 +9,7 @@ import Loader from '~/components/ui/Loader.vue'
|
|||
|
||||
const props = defineProps<{
|
||||
thinFont?: true
|
||||
lowHeight? : true
|
||||
lowHeight?: true
|
||||
|
||||
isActive?: boolean
|
||||
isLoading?: boolean
|
||||
|
|
|
@ -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')
|
||||
])
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue