mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-26 01:24:35 +08:00
Code style changes
This commit is contained in:
parent
b1aebc4a14
commit
8193b6d9f1
3 changed files with 5 additions and 5 deletions
|
@ -360,7 +360,7 @@
|
|||
};
|
||||
|
||||
$scope.fileLoadError = function (error) {
|
||||
console.log($translate.instant('error.loading.file'), error);
|
||||
return error;
|
||||
};
|
||||
|
||||
$scope.selected_file = '';
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
_loginToVault(vault, vault_key);
|
||||
|
||||
} catch (e) {
|
||||
$scope.error = $translate.instant('invalid.vault.key')
|
||||
$scope.error = $translate.instant('invalid.vault.key');
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
@ -46,10 +46,10 @@
|
|||
total: '=total'
|
||||
},
|
||||
|
||||
link: function () {
|
||||
link: function (scope) {
|
||||
$translate(['complete']).then(function (translations) {
|
||||
$scope.completed_text = translations['complete'];
|
||||
})
|
||||
scope.completed_text = translations.complete;
|
||||
});
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
|
Loading…
Reference in a new issue