15 lines
537 B
JavaScript
15 lines
537 B
JavaScript
import NotificationsButtonComponent from "select-kit/components/notifications-button";
|
|
import { threadNotificationButtonLevels } from "discourse/plugins/chat/discourse/lib/chat-notification-levels";
|
|
|
|
export default NotificationsButtonComponent.extend({
|
|
pluginApiIdentifiers: ["thread-notifications-button"],
|
|
classNames: ["thread-notifications-button"],
|
|
content: threadNotificationButtonLevels,
|
|
|
|
selectKitOptions: {
|
|
i18nPrefix: "chat.thread.notifications",
|
|
showFullTitle: false,
|
|
btnCustomClasses: "btn-flat",
|
|
},
|
|
});
|