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