mirror of
https://github.com/discourse/discourse.git
synced 2024-12-08 11:33:39 +08:00
48193767bf
Automatically generated by `eslint --fix` to satisfy the updated configuration
9 lines
358 B
JavaScript
9 lines
358 B
JavaScript
import Controller from "@ember/controller";
|
|
import { and, not } from "@ember/object/computed";
|
|
export default class AdminBackupsController extends Controller {
|
|
@not("model.isOperationRunning") noOperationIsRunning;
|
|
@not("rollbackEnabled") rollbackDisabled;
|
|
@and("model.canRollback", "model.restoreEnabled", "noOperationIsRunning")
|
|
rollbackEnabled;
|
|
}
|