1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/wizard-notice-row.js.es6
angusmcleod 49538d554d Linting
2021-11-17 20:48:11 +08:00

19 Zeilen
431 B
JavaScript

import Component from "@ember/component";
import NoticeMessage from "../mixins/notice-message";
export default Component.extend(NoticeMessage, {
tagName: "tr",
attributeBindings: ["notice.id:data-notice-id"],
classNameBindings: [
":wizard-notice-row",
"notice.typeClass",
"notice.expired:expired",
"notice.dismissed:dismissed",
],
actions: {
dismiss() {
this.notice.dismiss();
},
},
});