1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 22:13:32 +00:00

rename exportScopeDescription to orgExportDescription

This commit is contained in:
John Harrington
2025-09-26 10:12:23 -07:00
parent 211eab3663
commit a85e25b282
3 changed files with 6 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ export class ExportScopeCalloutComponent {
/* Optional export format, determines which individual export description to display */
readonly exportFormat = input<string>();
/* The description key to use for organizational exports */
readonly exportScopeDescription = input<string>();
readonly orgExportDescription = input<string>();
constructor(
protected organizationService: OrganizationService,
@@ -38,7 +38,7 @@ export class ExportScopeCalloutComponent {
await this.getScopeMessage(
this.organizationId(),
this.exportFormat(),
this.exportScopeDescription(),
this.orgExportDescription(),
);
this.show = true;
});
@@ -47,7 +47,7 @@ export class ExportScopeCalloutComponent {
private async getScopeMessage(
organizationId: string,
exportFormat: string,
exportScopeDescription: string,
orgExportDescription: string,
): Promise<void> {
const userId = await firstValueFrom(getUserId(this.accountService.activeAccount$));
@@ -59,7 +59,7 @@ export class ExportScopeCalloutComponent {
this.scopeConfig = {
title: "exportingOrganizationVaultTitle",
description: exportScopeDescription,
description: orgExportDescription,
scopeIdentifier: org?.name ?? "",
};
} else {

View File

@@ -8,7 +8,7 @@
<tools-export-scope-callout
[organizationId]="organizationId"
[exportFormat]="format"
[exportScopeDescription]="exportScopeDescription"
[orgExportDescription]="orgExportDescription"
></tools-export-scope-callout>
<form [formGroup]="exportForm" [bitSubmit]="submit" id="export_form_exportForm">

View File

@@ -130,7 +130,7 @@ export class ExportComponent implements OnInit, OnDestroy, AfterViewInit {
return this._showExcludeMyItems;
}
get exportScopeDescription(): string {
get orgExportDescription(): string {
if (!this._showExcludeMyItems) {
return "exportingOrganizationVaultDesc";
}