mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix 'Move to view' operation (#21142)
This commit is contained in:
parent
a56b9a96ce
commit
4cc9e74ea8
@ -353,7 +353,7 @@ export class HuiCardOptions extends LitElement {
|
||||
allowDashboardChange: true,
|
||||
header: this.hass!.localize("ui.panel.lovelace.editor.move_card.header"),
|
||||
viewSelectedCallback: async (urlPath, selectedDashConfig, viewIndex) => {
|
||||
const view = this.lovelace!.config.views[viewIndex];
|
||||
const view = selectedDashConfig.views[viewIndex];
|
||||
|
||||
if (!isStrategyView(view) && view.type === SECTION_VIEW_LAYOUT) {
|
||||
showAlertDialog(this, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user