1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/wizard-notice-row.js.es6

20 Zeilen
431 B
Text

2021-11-01 14:52:29 +01:00
import Component from "@ember/component";
import NoticeMessage from "../mixins/notice-message";
export default Component.extend(NoticeMessage, {
tagName: "tr",
attributeBindings: ["notice.id:data-notice-id"],
2021-11-17 13:48:11 +01:00
classNameBindings: [
":wizard-notice-row",
"notice.typeClass",
"notice.expired:expired",
"notice.dismissed:dismissed",
],
2021-11-01 14:52:29 +01:00
actions: {
dismiss() {
this.notice.dismiss();
2021-11-17 13:48:11 +01:00
},
},
});