mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
nothing was imported error
This commit is contained in:
@@ -12,6 +12,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
function importSuccess(folders, sites, folderRelationships) {
|
function importSuccess(folders, sites, folderRelationships) {
|
||||||
|
if (!folder.length && !sites.length) {
|
||||||
|
toastr.error('Nothing was imported.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
apiService.ciphers.import({
|
apiService.ciphers.import({
|
||||||
folders: cipherService.encryptFolders(folders, cryptoService.getKey()),
|
folders: cipherService.encryptFolders(folders, cryptoService.getKey()),
|
||||||
sites: cipherService.encryptSites(sites, cryptoService.getKey()),
|
sites: cipherService.encryptSites(sites, cryptoService.getKey()),
|
||||||
|
|||||||
Reference in New Issue
Block a user