mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 01:59:28 +08:00
Expose a method for clearing notification list
Needed for pusher extension. Refs #2185.
This commit is contained in:
parent
365ae0464e
commit
0b9e8e0408
|
@ -9,6 +9,10 @@ export default class NotificationListState {
|
|||
this.moreResults = false;
|
||||
}
|
||||
|
||||
clear() {
|
||||
this.notificationPages = [];
|
||||
}
|
||||
|
||||
getNotificationPages() {
|
||||
return this.notificationPages;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user