kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
style: fix linting
rodzic
185a61ecdd
commit
f5200eecea
|
@ -81,15 +81,27 @@ store.dispatch('auth/fetchUser')
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :key="store.state.instance.instanceUrl" :class="{
|
<div
|
||||||
'has-bottom-player': tracks.length > 0,
|
:key="store.state.instance.instanceUrl"
|
||||||
'queue-focused': store.state.ui.queueFocused
|
:class="{
|
||||||
}">
|
'has-bottom-player': tracks.length > 0,
|
||||||
|
'queue-focused': store.state.ui.queueFocused
|
||||||
|
}"
|
||||||
|
>
|
||||||
<!-- here, we display custom stylesheets, if any -->
|
<!-- here, we display custom stylesheets, if any -->
|
||||||
<link v-for="url in customStylesheets" :key="url" rel="stylesheet" property="stylesheet" :href="url">
|
<link
|
||||||
|
v-for="url in customStylesheets"
|
||||||
|
:key="url"
|
||||||
|
rel="stylesheet"
|
||||||
|
property="stylesheet"
|
||||||
|
:href="url"
|
||||||
|
>
|
||||||
|
|
||||||
<sidebar :width="width" @show:set-instance-modal="showSetInstanceModal = !showSetInstanceModal"
|
<sidebar
|
||||||
@show:shortcuts-modal="toggleShortcutsModal" />
|
:width="width"
|
||||||
|
@show:set-instance-modal="showSetInstanceModal = !showSetInstanceModal"
|
||||||
|
@show:shortcuts-modal="toggleShortcutsModal"
|
||||||
|
/>
|
||||||
<set-instance-modal v-model:show="showSetInstanceModal" />
|
<set-instance-modal v-model:show="showSetInstanceModal" />
|
||||||
<service-messages />
|
<service-messages />
|
||||||
<transition name="queue">
|
<transition name="queue">
|
||||||
|
|
|
@ -22,11 +22,11 @@ logger.debug('Environment variables:', import.meta.env)
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
name: 'Root',
|
name: 'Root',
|
||||||
data: () => ({ ready: false }),
|
data: () => ({ ready: false }),
|
||||||
mounted() {
|
mounted () {
|
||||||
this.ready = true
|
this.ready = true
|
||||||
logger.info('Everything loaded!')
|
logger.info('Everything loaded!')
|
||||||
},
|
},
|
||||||
render() {
|
render () {
|
||||||
if (this.ready) {
|
if (this.ready) {
|
||||||
return h(defineAsyncComponent(() => import('~/App.vue')))
|
return h(defineAsyncComponent(() => import('~/App.vue')))
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue