archive: add button to download the config

This commit is contained in:
Girish Ramakrishnan
2024-12-11 09:50:54 +01:00
parent 65f507bc75
commit 96f2c6e2aa
3 changed files with 3 additions and 2 deletions

View File

@@ -501,7 +501,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
document.body.removeChild(element);
}
$scope.downloadConfig = function (backup) {
$scope.downloadConfig = function (backup) { // can also be a archive object
// secrets and tokens already come with placeholder characters we remove them
var tmp = {
remotePath: backup.remotePath,