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:
@@ -15,4 +15,8 @@ export default class extends Controller {
|
||||
this.element.reload()
|
||||
}
|
||||
}
|
||||
|
||||
reload() {
|
||||
this.element.reload()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user