mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-12 04:20:28 +00:00
narrow
This commit is contained in:
@@ -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!, {
|
||||||
|
|||||||
Reference in New Issue
Block a user