Prevent edit and move view button triggered in the same time (#16143)

This commit is contained in:
Paul Bottein 2023-04-12 14:07:54 +02:00 committed by GitHub
parent 49a14a7265
commit a5edb4caaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -868,6 +868,7 @@ class HUIRoot extends LitElement {
}
private _handleViewSelected(ev) {
ev.preventDefault();
const viewIndex = ev.detail.selected as number;
if (viewIndex !== this._curView) {