This commit is contained in:
J. Nick Koston
2025-10-13 11:05:50 -10:00
parent b4d62f23f4
commit 4b4906318a

View File

@@ -495,6 +495,7 @@ class DataEntryFlowDialog extends LitElement {
dialogClosedCallback: this._params!.dialogClosedCallback, dialogClosedCallback: this._params!.dialogClosedCallback,
}); });
} else if (_step.next_flow[0] === "options_flow") { } else if (_step.next_flow[0] === "options_flow") {
if (_step.type === "create_entry") {
showOptionsFlowDialog( showOptionsFlowDialog(
this._params!.dialogParentElement!, this._params!.dialogParentElement!,
_step.result!, _step.result!,
@@ -504,7 +505,9 @@ class DataEntryFlowDialog extends LitElement {
dialogClosedCallback: this._params!.dialogClosedCallback, dialogClosedCallback: this._params!.dialogClosedCallback,
} }
); );
}
} else if (_step.next_flow[0] === "config_subentries_flow") { } else if (_step.next_flow[0] === "config_subentries_flow") {
if (_step.type === "create_entry") {
showSubConfigFlowDialog( showSubConfigFlowDialog(
this._params!.dialogParentElement!, this._params!.dialogParentElement!,
_step.result!, _step.result!,
@@ -515,6 +518,7 @@ class DataEntryFlowDialog extends LitElement {
dialogClosedCallback: this._params!.dialogClosedCallback, dialogClosedCallback: this._params!.dialogClosedCallback,
} }
); );
}
} else { } else {
this.closeDialog(); this.closeDialog();
showAlertDialog(this._params!.dialogParentElement!, { showAlertDialog(this._params!.dialogParentElement!, {