mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:34:08 +08:00
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",
|
||
|
},
|
||
|
});
|