Make the notifications tray reload on broadcasted refreshes

We can't use the normal refresh: :morph because everything is contained in a turbo permanent section
so that the trays persist across regular navigation.
This commit is contained in:
Jorge Manrubia
2025-11-21 09:41:03 +01:00
parent e813b7eaf0
commit 85b9e3dfd4
2 changed files with 11 additions and 7 deletions
@@ -15,4 +15,8 @@ export default class extends Controller {
this.element.reload()
}
}
reload() {
this.element.reload()
}
}