mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
dont export organization ciphers
This commit is contained in:
@@ -9,8 +9,6 @@ import { FolderService } from '../abstractions/folder.service';
|
|||||||
import { CipherView } from '../models/view/cipherView';
|
import { CipherView } from '../models/view/cipherView';
|
||||||
import { FolderView } from '../models/view/folderView';
|
import { FolderView } from '../models/view/folderView';
|
||||||
|
|
||||||
import { Utils } from '../misc/utils';
|
|
||||||
|
|
||||||
export class ExportService implements ExportServiceAbstraction {
|
export class ExportService implements ExportServiceAbstraction {
|
||||||
constructor(private folderService: FolderService, private cipherService: CipherService) { }
|
constructor(private folderService: FolderService, private cipherService: CipherService) { }
|
||||||
|
|
||||||
@@ -41,6 +39,10 @@ export class ExportService implements ExportServiceAbstraction {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c.organizationId != null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const cipher: any = {
|
const cipher: any = {
|
||||||
folder: c.folderId && foldersMap.has(c.folderId) ? foldersMap.get(c.folderId).name : null,
|
folder: c.folderId && foldersMap.has(c.folderId) ? foldersMap.get(c.folderId).name : null,
|
||||||
favorite: c.favorite ? 1 : null,
|
favorite: c.favorite ? 1 : null,
|
||||||
|
|||||||
Reference in New Issue
Block a user