mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +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) {
|
||||
ev.preventDefault();
|
||||
const viewIndex = ev.detail.selected as number;
|
||||
|
||||
if (viewIndex !== this._curView) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user