mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 21:36:11 +08:00
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
|
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();
|
||
|
}
|
||
|
}
|