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