mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
11 lines
374 B
JavaScript
11 lines
374 B
JavaScript
import NotificationsButton from 'discourse/components/notifications-button';
|
|
|
|
export default NotificationsButton.extend({
|
|
classNames: ['notification-options', 'group-notification-menu'],
|
|
notificationLevel: Em.computed.alias('group.group_user.notification_level'),
|
|
i18nPrefix: 'groups.notifications',
|
|
|
|
clicked(id) {
|
|
this.get('group').setNotification(id);
|
|
}
|
|
});
|