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 "discourse-common/helpers/i18n"; export default class ModalDiffModal extends Component { @action triggerConfirmChanges() { this.args.closeModal(); this.args.confirm(); } @action triggerRevertChanges() { this.args.closeModal(); this.args.revert(); } }