From 66de2f4a967dc533f532903797423106c5e45d95 Mon Sep 17 00:00:00 2001 From: fomojola Date: Sun, 16 Feb 2025 00:46:35 -0500 Subject: [PATCH] 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. --- web-src/src/stores/configuration.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-src/src/stores/configuration.js b/web-src/src/stores/configuration.js index 880efe9e..8a1a8828 100644 --- a/web-src/src/stores/configuration.js +++ b/web-src/src/stores/configuration.js @@ -4,6 +4,8 @@ export const useConfigurationStore = defineStore('ConfigurationStore', { state: () => ({ buildoptions: [], version: '', - websocket_port: 0 + websocket_port: 0, + allow_modifying_stored_playlists: false, + default_playlist_directory: '' }) })