mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Prevent edit and move view button triggered in the same time (#16143)
This commit is contained in:
parent
49a14a7265
commit
a5edb4caaf
@ -868,6 +868,7 @@ class HUIRoot extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private _handleViewSelected(ev) {
|
private _handleViewSelected(ev) {
|
||||||
|
ev.preventDefault();
|
||||||
const viewIndex = ev.detail.selected as number;
|
const viewIndex = ev.detail.selected as number;
|
||||||
|
|
||||||
if (viewIndex !== this._curView) {
|
if (viewIndex !== this._curView) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user