mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
Fix filename not including "_encrypted_" when selecting encrypted vault exports (#14066)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
646c7198aa
commit
0311681803
@@ -250,7 +250,7 @@ export class IndividualVaultExportService
|
|||||||
return {
|
return {
|
||||||
type: "text/plain",
|
type: "text/plain",
|
||||||
data: JSON.stringify(jsonDoc, null, " "),
|
data: JSON.stringify(jsonDoc, null, " "),
|
||||||
fileName: ExportHelper.getFileName("", "json"),
|
fileName: ExportHelper.getFileName("", "encrypted_json"),
|
||||||
} as ExportedVaultAsString;
|
} as ExportedVaultAsString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ export class OrganizationVaultExportService
|
|||||||
data: onlyManagedCollections
|
data: onlyManagedCollections
|
||||||
? await this.getEncryptedManagedExport(organizationId)
|
? await this.getEncryptedManagedExport(organizationId)
|
||||||
: await this.getOrganizationEncryptedExport(organizationId),
|
: await this.getOrganizationEncryptedExport(organizationId),
|
||||||
fileName: ExportHelper.getFileName("org", "json"),
|
fileName: ExportHelper.getFileName("org", "encrypted_json"),
|
||||||
} as ExportedVaultAsString;
|
} as ExportedVaultAsString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user