discourse/app/assets/javascripts/admin/addon/components/modal/start-backup.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
365 B
JavaScript
Raw Normal View History

import Component from "@glimmer/component";
import { action } from "@ember/object";
export default class StartBackup extends Component {
@action
startBackupWithUploads() {
this.args.model.startBackup(true);
this.args.closeModal();
}
@action
startBackupWithoutUploads() {
this.args.model.startBackup(false);
this.args.closeModal();
}
}