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:
parent
0a1fa525d5
commit
0277bc94f3
6 changed files with 60 additions and 28 deletions
|
@ -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 = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue