mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 18:54:13 +08:00
13 lines
409 B
JavaScript
13 lines
409 B
JavaScript
import NotificationOptionsComponent from "select-kit/components/notifications-button";
|
|
|
|
export default NotificationOptionsComponent.extend({
|
|
pluginApiIdentifiers: ["grouo-notifications-button"],
|
|
classNames: ["group-notifications-button"],
|
|
i18nPrefix: "groups.notifications",
|
|
allowInitialValueMutation: false,
|
|
|
|
mutateValue(value) {
|
|
this.group.setNotification(value, this.get("user.id"));
|
|
}
|
|
});
|