Add button to download tgz backups

This commit is contained in:
Johannes Zellner
2022-11-04 10:18:12 +01:00
parent 338c89aa7f
commit e0900aeba1
4 changed files with 11 additions and 1 deletions

View File

@@ -95,6 +95,10 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
}
};
$scope.getAppBackupDownloadLink = function (backup) {
return Client.getAppBackupDownloadLink($scope.app.id, backup.id);
};
$scope.onAppClick = function (app, $event) { onAppClick(app, $event, true /* always operator */, $scope); };
$scope.sftpInfo = {