mirror of
https://github.com/discourse/discourse.git
synced 2025-04-17 16:59:03 +08:00
FIX: Don't fallback to original implementation for linkTitle in the custom type (#20298)
The `custom` notification type is a generic notification type that plugins can use for their own notifications, so it doesn't make sense to fallback to the implementation of `linkTitle` in the base notification type because core can't possibly come up with a title suitable for all custom notifications.
This commit is contained in:
parent
79c94afdc5
commit
183946a549
@ -6,7 +6,6 @@ export default class extends NotificationTypeBase {
|
||||
if (this.notification.data.title) {
|
||||
return I18n.t(this.notification.data.title);
|
||||
}
|
||||
return super.linkTitle;
|
||||
}
|
||||
|
||||
get icon() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user