SM-569: Update import/export format to Bitwarden (json) (#4944)
This commit is contained in:
parent
75965e6408
commit
12fe2b693c
|
@ -23,10 +23,10 @@ export class SecretsManagerExportComponent implements OnInit, OnDestroy {
|
|||
|
||||
protected orgName: string;
|
||||
protected orgId: string;
|
||||
protected exportFormats: string[] = ["json"];
|
||||
protected exportFormats: string[] = ["Bitwarden (json)"];
|
||||
|
||||
protected formGroup = new FormGroup({
|
||||
format: new FormControl("json", [Validators.required]),
|
||||
format: new FormControl("Bitwarden (json)", [Validators.required]),
|
||||
});
|
||||
|
||||
constructor(
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
(change)="setSelectedFile($event)"
|
||||
accept="application/JSON"
|
||||
/>
|
||||
<bit-hint>{{ "acceptedFormats" | i18n }} JSON</bit-hint>
|
||||
<bit-hint>{{ "acceptedFormats" | i18n }} Bitwarden (json)</bit-hint>
|
||||
</bit-form-field>
|
||||
<div class="my-4">
|
||||
{{ "or" | i18n }}
|
||||
|
@ -34,7 +34,7 @@
|
|||
name="FileContents"
|
||||
formControlName="pastedContents"
|
||||
></textarea>
|
||||
<bit-hint>{{ "acceptedFormats" | i18n }} JSON</bit-hint>
|
||||
<bit-hint>{{ "acceptedFormats" | i18n }} Bitwarden (json)</bit-hint>
|
||||
</bit-form-field>
|
||||
<button bitButton bitFormButton type="submit" buttonType="primary">
|
||||
{{ "importData" | i18n }}
|
||||
|
|
Loading…
Reference in New Issue