null check to be consistent with mobile codebase
This commit is contained in:
parent
2d726ee3af
commit
fd260dfbae
|
@ -44,7 +44,9 @@ export class ExportService implements ExportServiceAbstraction {
|
||||||
if (format === 'csv') {
|
if (format === 'csv') {
|
||||||
const foldersMap = new Map<string, FolderView>();
|
const foldersMap = new Map<string, FolderView>();
|
||||||
decFolders.forEach((f) => {
|
decFolders.forEach((f) => {
|
||||||
|
if (f.id != null) {
|
||||||
foldersMap.set(f.id, f);
|
foldersMap.set(f.id, f);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const exportCiphers: any[] = [];
|
const exportCiphers: any[] = [];
|
||||||
|
|
Loading…
Reference in New Issue