Expose a method for clearing notification list

Needed for pusher extension.

Refs #2185.
This commit is contained in:
Franz Liedke 2020-06-26 15:10:41 +02:00
parent 365ae0464e
commit 0b9e8e0408

View File

@ -9,6 +9,10 @@ export default class NotificationListState {
this.moreResults = false; this.moreResults = false;
} }
clear() {
this.notificationPages = [];
}
getNotificationPages() { getNotificationPages() {
return this.notificationPages; return this.notificationPages;
} }