disable archiving for pre-8.2 backups
the sso situation complicates implementing restore for those
This commit is contained in:
@@ -1757,7 +1757,8 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
$scope.uninstall.latestBackup = null;
|
||||
|
||||
Client.getAppBackups($scope.app.id, function (error, backups) {
|
||||
if (!error && backups.length) $scope.uninstall.latestBackup = backups[0];
|
||||
// only backups with appConfig (post 8.2) are candidates for archive
|
||||
if (!error && backups.length) $scope.uninstall.latestBackup = backups[0].appConfig ? backups[0] : null;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user