UI Bugfix: Allow changing of data onn previously unconfigured share

This commit is contained in:
Max Berger
2026-06-12 08:22:42 +02:00
parent bb2edcbc4e
commit d612b00ba0
2 changed files with 57 additions and 1 deletions

View File

@@ -309,7 +309,10 @@ export class CreateEditShareScene {
/** @type {Record<string, any>} */
let new_actions = {};
if (this._edit && this._share && this._share.Actions) {
new_actions = JSON.parse(JSON.stringify(this._share.Actions));
let actions_json = JSON.stringify(this._share.Actions);
if (actions_json) {
new_actions = JSON.parse(actions_json);
}
}
if (conversion_value === "bday") {
let new_config = new ShareConfig();