Fix: navigation not working after adding new commands

This commit is contained in:
Jorge Manrubia
2025-05-15 16:00:40 +02:00
parent 09f5efc100
commit 87b4643946
2 changed files with 5 additions and 2 deletions
@@ -5,6 +5,10 @@ export default class extends Controller {
static targets = [ "item" ]
static values = { selectionAttribute: { type: String, default: "aria-current" } }
connect() {
this.selectLast()
}
// Actions
navigate(event) {