mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 02:33:19 +02:00
BUGZ-829 fix a few nits
This commit is contained in:
parent
783c61500e
commit
fe4334d6c4
3 changed files with 5 additions and 4 deletions
|
@ -249,7 +249,6 @@ $(document).ready(function(){
|
|||
url: '/api/backups',
|
||||
cache: false
|
||||
}).done(function(data) {
|
||||
console.log(data);
|
||||
// split the returned data into manual and automatic manual backups
|
||||
var splitBackups = _.partition(data.backups, function(value, index) {
|
||||
return value.isManualBackup;
|
||||
|
@ -265,7 +264,7 @@ console.log(data);
|
|||
confirmButtonText: "Restart",
|
||||
closeOnConfirm: true,
|
||||
},
|
||||
function() {
|
||||
function () {
|
||||
$.get("/restart");
|
||||
showRestartModal();
|
||||
});
|
||||
|
|
|
@ -240,12 +240,12 @@ void AssetsBackupHandler::createBackup(const QString& backupName, QuaZip& zip) {
|
|||
Q_ASSERT(QThread::currentThread() == thread());
|
||||
|
||||
if (operationInProgress()) {
|
||||
qCWarning(asset_backup) << "There is already an operation in progress. Please wait.";
|
||||
qCWarning(asset_backup) << "There is already an operation in progress.";
|
||||
return;
|
||||
}
|
||||
|
||||
if (_assetServerEnabled && _lastMappingsRefresh.time_since_epoch().count() == 0) {
|
||||
qCWarning(asset_backup) << "Current mappings not yet loaded. Please wait.";
|
||||
qCWarning(asset_backup) << "Current mappings not yet loaded.";
|
||||
_backups.emplace_back(backupName, AssetUtils::Mappings(), true);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -173,6 +173,8 @@ bool DomainContentBackupManager::process() {
|
|||
return handler->getRecoveryStatus().first;
|
||||
});
|
||||
|
||||
// if an error occurred, don't restart the server so that the user
|
||||
// can be notified of the error and take action.
|
||||
if (!isStillRecovering && _recoveryError.isEmpty()) {
|
||||
_isRecovering = false;
|
||||
_recoveryFilename = "";
|
||||
|
|
Loading…
Reference in a new issue