mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
nothing was imported error
This commit is contained in:
parent
517ea65bc9
commit
21e9e083f5
@ -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()),
|
||||
|
Loading…
Reference in New Issue
Block a user