[web] Minor changes

This commit is contained in:
Alain Nussbaumer 2025-05-31 19:48:18 +02:00
parent e80e58f0fd
commit 4872bfd7fd
12 changed files with 29 additions and 51 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,11 +28,11 @@
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^6.0.8",
"@vitejs/plugin-vue": "^5.2.4",
"eslint": "^9.27.0",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-vue": "^10.1.0",
"prettier": "^3.5.3",
"sass": "^1.89.0",
"sass": "^1.89.1",
"vite": "^6.3.5"
}
},
@ -657,9 +657,9 @@
}
},
"node_modules/@eslint/js": {
"version": "9.27.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.27.0.tgz",
"integrity": "sha512-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA==",
"version": "9.28.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.28.0.tgz",
"integrity": "sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==",
"dev": true,
"license": "MIT",
"engines": {
@ -2435,9 +2435,9 @@
}
},
"node_modules/eslint": {
"version": "9.27.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.27.0.tgz",
"integrity": "sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q==",
"version": "9.28.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.28.0.tgz",
"integrity": "sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -2447,7 +2447,7 @@
"@eslint/config-helpers": "^0.2.1",
"@eslint/core": "^0.14.0",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "9.27.0",
"@eslint/js": "9.28.0",
"@eslint/plugin-kit": "^0.3.1",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
@ -3826,9 +3826,9 @@
}
},
"node_modules/sass": {
"version": "1.89.0",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.89.0.tgz",
"integrity": "sha512-ld+kQU8YTdGNjOLfRWBzewJpU5cwEv/h5yyqlSeJcj6Yh8U4TDA9UA5FPicqDz/xgRPWRSYIQNiFks21TbA9KQ==",
"version": "1.89.1",
"resolved": "https://registry.npmjs.org/sass/-/sass-1.89.1.tgz",
"integrity": "sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q==",
"dev": true,
"license": "MIT",
"dependencies": {

View File

@ -32,11 +32,11 @@
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^6.0.8",
"@vitejs/plugin-vue": "^5.2.4",
"eslint": "^9.27.0",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-vue": "^10.1.0",
"prettier": "^3.5.3",
"sass": "^1.89.0",
"sass": "^1.89.1",
"vite": "^6.3.5"
}
}

View File

@ -99,8 +99,7 @@
<control-setting-integer-field
category="webinterface"
name="recently_added_limit"
>
</control-setting-integer-field>
/>
</template>
</content-with-heading>
</template>

View File

@ -7,7 +7,5 @@ export const useOutputsStore = defineStore('OutputsStore', {
this.$state = await outputs.state()
}
},
state: () => ({
outputs: []
})
state: () => ({ outputs: [] })
})

View File

@ -29,9 +29,5 @@ export const useQueueStore = defineStore('QueueStore', {
)
}
},
state: () => ({
count: 0,
items: [],
version: 0
})
state: () => ({ count: 0, items: [], version: 0 })
})

View File

@ -7,8 +7,5 @@ export const useRemotesStore = defineStore('RemotesStore', {
this.$state = await remotes.state()
}
},
state: () => ({
active: false,
remote: ''
})
state: () => ({ active: false, remote: '' })
})

View File

@ -19,9 +19,5 @@ export const useSearchStore = defineStore('SearchStore', {
}
}
},
state: () => ({
history: [],
query: '',
source: 'search-library'
})
state: () => ({ history: [], query: '', source: 'search-library' })
})

View File

@ -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 })
})

View File

@ -81,7 +81,5 @@ export const useSettingsStore = defineStore('SettingsStore', {
showMenuItemSearch: (state) =>
state.get('webinterface', 'show_menu_item_search')?.value ?? false
},
state: () => ({
categories: []
})
state: () => ({ categories: [] })
})

View File

@ -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>