FIX: Move types of the assign notification list to the tab class (#376)
This change is needed following this commit in core: 661a903a0b
Co-authored-by: OsamaSayegh <asooomaasoooma90@gmail.com>
This commit is contained in:
parent
0d586bb93c
commit
0d9aa9c5fa
|
@ -9,7 +9,7 @@ import Topic from "discourse/models/topic";
|
|||
|
||||
export default class UserMenuAssignNotificationsList extends UserMenuNotificationsList {
|
||||
get dismissTypes() {
|
||||
return ["assigned"];
|
||||
return this.filterByTypes;
|
||||
}
|
||||
|
||||
get showDismiss() {
|
||||
|
|
|
@ -32,6 +32,10 @@ export default {
|
|||
get count() {
|
||||
return this.getUnreadCountForType("assigned");
|
||||
}
|
||||
|
||||
get notificationTypes() {
|
||||
return ["assigned"];
|
||||
}
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue