feat: add auto deactivate option for slot plans

Add an autoDeactivate flag to pickup configuration entries, expose it as a dashboard checkbox beside the active state, and keep existing entries defaulting to automatic deactivation unless explicitly disabled.
This commit is contained in:
2026-06-14 21:23:47 +02:00
parent bd41e8c079
commit 3f1892b951
5 changed files with 68 additions and 4 deletions

View File

@@ -248,6 +248,7 @@ function mergeStoresIntoConfig(config = [], stores = []) {
id,
label: store.name || `Store ${id}`,
active: false,
autoDeactivate: true,
checkProfileId: true,
onlyNotify: false,
hidden: hideByDefault