1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

padlock importer. move relationships to arrays

This commit is contained in:
Kyle Spearrin
2018-07-10 16:38:43 -04:00
parent a6a0673af8
commit 4004449aa8
7 changed files with 148 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ export class SafeInCloudXmlImporter extends BaseImporter implements Importer {
if (labelIdEl != null) {
const labelId = labelIdEl.textContent;
if (!this.isNullOrWhitespace(labelId) && foldersMap.has(labelId)) {
result.folderRelationships.set(result.ciphers.length, foldersMap.get(labelId));
result.folderRelationships.push([result.ciphers.length, foldersMap.get(labelId)]);
}
}