import Component from "@glimmer/component"; import { action } from "@ember/object"; import { htmlSafe } from "@ember/template"; import DButton from "discourse/components/d-button"; import DModal from "discourse/components/d-modal"; import I18n from "I18n"; const t = I18n.t.bind(I18n); export default class ModalDiffModal extends Component { @action triggerConfirmChanges() { this.args.closeModal(); this.args.confirm(); } @action triggerRevertChanges() { this.args.closeModal(); this.args.revert(); } }