mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
narrow
This commit is contained in:
@@ -495,26 +495,30 @@ 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") {
|
||||||
showOptionsFlowDialog(
|
if (_step.type === "create_entry") {
|
||||||
this._params!.dialogParentElement!,
|
showOptionsFlowDialog(
|
||||||
_step.result!,
|
this._params!.dialogParentElement!,
|
||||||
{
|
_step.result!,
|
||||||
continueFlowId: _step.next_flow[1],
|
{
|
||||||
navigateToResult: this._params!.navigateToResult,
|
continueFlowId: _step.next_flow[1],
|
||||||
dialogClosedCallback: this._params!.dialogClosedCallback,
|
navigateToResult: this._params!.navigateToResult,
|
||||||
}
|
dialogClosedCallback: this._params!.dialogClosedCallback,
|
||||||
);
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
} else if (_step.next_flow[0] === "config_subentries_flow") {
|
} else if (_step.next_flow[0] === "config_subentries_flow") {
|
||||||
showSubConfigFlowDialog(
|
if (_step.type === "create_entry") {
|
||||||
this._params!.dialogParentElement!,
|
showSubConfigFlowDialog(
|
||||||
_step.result!,
|
this._params!.dialogParentElement!,
|
||||||
_step.next_flow[0],
|
_step.result!,
|
||||||
{
|
_step.next_flow[0],
|
||||||
continueFlowId: _step.next_flow[1],
|
{
|
||||||
navigateToResult: this._params!.navigateToResult,
|
continueFlowId: _step.next_flow[1],
|
||||||
dialogClosedCallback: this._params!.dialogClosedCallback,
|
navigateToResult: this._params!.navigateToResult,
|
||||||
}
|
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