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:
Krzysztof Kotlarek 2022-09-03 01:48:45 +10:00 committed by GitHub
parent 0d586bb93c
commit 0d9aa9c5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import Topic from "discourse/models/topic";
export default class UserMenuAssignNotificationsList extends UserMenuNotificationsList { export default class UserMenuAssignNotificationsList extends UserMenuNotificationsList {
get dismissTypes() { get dismissTypes() {
return ["assigned"]; return this.filterByTypes;
} }
get showDismiss() { get showDismiss() {

View File

@ -32,6 +32,10 @@ export default {
get count() { get count() {
return this.getUnreadCountForType("assigned"); return this.getUnreadCountForType("assigned");
} }
get notificationTypes() {
return ["assigned"];
}
}; };
}); });
} }