mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-23 19:17:46 -05:00
[web] Minor changes
This commit is contained in:
@@ -99,8 +99,7 @@
|
||||
<control-setting-integer-field
|
||||
category="webinterface"
|
||||
name="recently_added_limit"
|
||||
>
|
||||
</control-setting-integer-field>
|
||||
/>
|
||||
</template>
|
||||
</content-with-heading>
|
||||
</template>
|
||||
|
||||
@@ -7,7 +7,5 @@ export const useOutputsStore = defineStore('OutputsStore', {
|
||||
this.$state = await outputs.state()
|
||||
}
|
||||
},
|
||||
state: () => ({
|
||||
outputs: []
|
||||
})
|
||||
state: () => ({ outputs: [] })
|
||||
})
|
||||
|
||||
@@ -29,9 +29,5 @@ export const useQueueStore = defineStore('QueueStore', {
|
||||
)
|
||||
}
|
||||
},
|
||||
state: () => ({
|
||||
count: 0,
|
||||
items: [],
|
||||
version: 0
|
||||
})
|
||||
state: () => ({ count: 0, items: [], version: 0 })
|
||||
})
|
||||
|
||||
@@ -7,8 +7,5 @@ export const useRemotesStore = defineStore('RemotesStore', {
|
||||
this.$state = await remotes.state()
|
||||
}
|
||||
},
|
||||
state: () => ({
|
||||
active: false,
|
||||
remote: ''
|
||||
})
|
||||
state: () => ({ active: false, remote: '' })
|
||||
})
|
||||
|
||||
@@ -19,9 +19,5 @@ export const useSearchStore = defineStore('SearchStore', {
|
||||
}
|
||||
}
|
||||
},
|
||||
state: () => ({
|
||||
history: [],
|
||||
query: '',
|
||||
source: 'search-library'
|
||||
})
|
||||
state: () => ({ history: [], query: '', source: 'search-library' })
|
||||
})
|
||||
|
||||
@@ -41,9 +41,5 @@ export const useServicesStore = defineStore('ServicesStore', {
|
||||
requiredSpotifyScopes: (state) =>
|
||||
state.spotify.webapi_required_scope?.split(' ') ?? []
|
||||
},
|
||||
state: () => ({
|
||||
lastfm: {},
|
||||
spotify: {},
|
||||
spotifyTimerId: 0
|
||||
})
|
||||
state: () => ({ lastfm: {}, spotify: {}, spotifyTimerId: 0 })
|
||||
})
|
||||
|
||||
@@ -81,7 +81,5 @@ export const useSettingsStore = defineStore('SettingsStore', {
|
||||
showMenuItemSearch: (state) =>
|
||||
state.get('webinterface', 'show_menu_item_search')?.value ?? false
|
||||
},
|
||||
state: () => ({
|
||||
categories: []
|
||||
})
|
||||
state: () => ({ categories: [] })
|
||||
})
|
||||
|
||||
@@ -36,14 +36,12 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
@use 'bulma/sass/utilities/mixins';
|
||||
|
||||
.column {
|
||||
&.has-image {
|
||||
@include mixins.mobile {
|
||||
justify-content: center;
|
||||
}
|
||||
@include mixins.tablet {
|
||||
justify-content: right;
|
||||
}
|
||||
.has-image {
|
||||
@include mixins.mobile {
|
||||
justify-content: center;
|
||||
}
|
||||
@include mixins.tablet {
|
||||
justify-content: right;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user