discourse/app/assets/javascripts/select-kit/components/category-notifications-button.js
Robin Ward 07813c4a91
Convert select-kit from es6 to js (#9246)
* Convert select-kit from es6 to js

* Hide more git blames
2020-03-20 12:40:32 -04:00

16 lines
457 B
JavaScript

import { or } from "@ember/object/computed";
import NotificationOptionsComponent from "select-kit/components/notifications-button";
export default NotificationOptionsComponent.extend({
pluginApiIdentifiers: ["category-notifications-button"],
classNames: ["category-notifications-button"],
isHidden: or("category.deleted"),
selectKitOptions: {
i18nPrefix: "i18nPrefix",
showFullTitle: false
},
i18nPrefix: "category.notifications"
});