dont export organization ciphers
This commit is contained in:
parent
99e522a5d1
commit
23e950beea
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue