mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Change target to currentTarget for the click event (#5816)
This commit is contained in:
parent
0c8cd680c2
commit
7f66d5b8e9
@ -195,7 +195,7 @@ class HassioRepositoriesDialog extends LitElement {
|
||||
}
|
||||
|
||||
private async _removeRepository(ev: Event) {
|
||||
const slug = (ev.target as any).slug;
|
||||
const slug = (ev.currentTarget as any).slug;
|
||||
const repositories = this._filteredRepositories(this._repos);
|
||||
const repository = repositories.find((repo) => {
|
||||
return repo.slug === slug;
|
||||
|
Loading…
x
Reference in New Issue
Block a user