1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-23 07:09:39 +02:00

Small redesign of transaction filters (#650)

This commit is contained in:
Zach Gollwitzer 2024-04-18 17:05:37 -04:00 committed by GitHub
parent 0a1fa525d5
commit 0277bc94f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 60 additions and 28 deletions

View file

@ -16,7 +16,10 @@ export default class extends Controller {
}
select(event) {
this.updateClasses(event.target.dataset.id);
const element = event.target.closest("[data-id]");
if (element) {
this.updateClasses(element.dataset.id);
}
}
onTurboLoad = () => {