mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 16:45:51 +08:00
681262ddce
And because of debouncing, the log wasn't always reset at the beginning of a backup or restore.
22 lines
474 B
JavaScript
22 lines
474 B
JavaScript
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
|
|
|
export default Ember.Controller.extend(ModalFunctionality, {
|
|
adminBackupsLogs: Ember.inject.controller(),
|
|
|
|
actions: {
|
|
startBackupWithUploads() {
|
|
this.send("closeModal");
|
|
this.send("startBackup", true);
|
|
},
|
|
|
|
startBackupWithoutUploads() {
|
|
this.send("closeModal");
|
|
this.send("startBackup", false);
|
|
},
|
|
|
|
cancel() {
|
|
this.send("closeModal");
|
|
}
|
|
}
|
|
});
|