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:
@@ -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 {
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user