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 orgName: string;
|
||||||
protected orgId: string;
|
protected orgId: string;
|
||||||
protected exportFormats: string[] = ["json"];
|
protected exportFormats: string[] = ["Bitwarden (json)"];
|
||||||
|
|
||||||
protected formGroup = new FormGroup({
|
protected formGroup = new FormGroup({
|
||||||
format: new FormControl("json", [Validators.required]),
|
format: new FormControl("Bitwarden (json)", [Validators.required]),
|
||||||
});
|
});
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
(change)="setSelectedFile($event)"
|
(change)="setSelectedFile($event)"
|
||||||
accept="application/JSON"
|
accept="application/JSON"
|
||||||
/>
|
/>
|
||||||
<bit-hint>{{ "acceptedFormats" | i18n }} JSON</bit-hint>
|
<bit-hint>{{ "acceptedFormats" | i18n }} Bitwarden (json)</bit-hint>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<div class="my-4">
|
<div class="my-4">
|
||||||
{{ "or" | i18n }}
|
{{ "or" | i18n }}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
name="FileContents"
|
name="FileContents"
|
||||||
formControlName="pastedContents"
|
formControlName="pastedContents"
|
||||||
></textarea>
|
></textarea>
|
||||||
<bit-hint>{{ "acceptedFormats" | i18n }} JSON</bit-hint>
|
<bit-hint>{{ "acceptedFormats" | i18n }} Bitwarden (json)</bit-hint>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<button bitButton bitFormButton type="submit" buttonType="primary">
|
<button bitButton bitFormButton type="submit" buttonType="primary">
|
||||||
{{ "importData" | i18n }}
|
{{ "importData" | i18n }}
|
||||||
|
|
Loading…
Reference in New Issue