discourse/app/assets/javascripts/select-kit/components/topic-notifications-button....

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
468 B
Plaintext
Raw Normal View History

import Component from "@ember/component";
export default Component.extend({
layoutName: "select-kit/templates/components/topic-notifications-button",
classNames: ["topic-notifications-button"],
appendReason: true,
2017-10-19 15:51:08 -04:00
showFullTitle: true,
actions: {
changeTopicNotificationLevel(newNotificationLevel) {
if (newNotificationLevel !== this.notificationLevel) {
this.topic.details.updateNotifications(newNotificationLevel);
}
}
}
2017-10-19 15:51:08 -04:00
});