Update configuration.js to add missing state fields

Added the 2 missing config fields to the configurationStore. On v28.11, the absence of these 2 fields was preventing the queue save as playlist button from appearing, even though the /config endpoint was returning the right fields.
This commit is contained in:
fomojola 2025-02-16 00:46:35 -05:00 committed by GitHub
parent 792e04b47d
commit 66de2f4a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,8 @@ export const useConfigurationStore = defineStore('ConfigurationStore', {
state: () => ({ state: () => ({
buildoptions: [], buildoptions: [],
version: '', version: '',
websocket_port: 0 websocket_port: 0,
allow_modifying_stored_playlists: false,
default_playlist_directory: ''
}) })
}) })