mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-06 11:35:50 +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) {
|
$scope.fileLoadError = function (error) {
|
||||||
console.log($translate.instant('error.loading.file'), error);
|
return error;
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.selected_file = '';
|
$scope.selected_file = '';
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
_loginToVault(vault, vault_key);
|
_loginToVault(vault, vault_key);
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
$scope.error = $translate.instant('invalid.vault.key')
|
$scope.error = $translate.instant('invalid.vault.key');
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,10 +46,10 @@
|
||||||
total: '=total'
|
total: '=total'
|
||||||
},
|
},
|
||||||
|
|
||||||
link: function () {
|
link: function (scope) {
|
||||||
$translate(['complete']).then(function (translations) {
|
$translate(['complete']).then(function (translations) {
|
||||||
$scope.completed_text = translations['complete'];
|
scope.completed_text = translations.complete;
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}]);
|
}]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue