mirror of
https://ghfast.top/https://github.com/discourse/discourse-follow.git
synced 2026-07-16 11:46:25 +08:00
17 lines
471 B
JavaScript
17 lines
471 B
JavaScript
import UserMenuNotificationItem from "discourse/components/user-menu/notification-item";
|
|
import { userPath } from "discourse/lib/url";
|
|
import I18n from "I18n";
|
|
|
|
export default class UserMenuFollowingNotificationItem extends UserMenuNotificationItem {
|
|
get url() {
|
|
return userPath(this.notification.data.display_username);
|
|
}
|
|
|
|
get description() {
|
|
return I18n.t("notifications.following_description");
|
|
}
|
|
|
|
get descriptionHtmlSafe() {
|
|
return false;
|
|
}
|
|
}
|