Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
14 Zeilen
407 B
Text
14 Zeilen
407 B
Text
|
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();
|
||
|
}
|
||
|
}
|
||
|
});
|