1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

Added dashed line as separator and label for common formats on format selector for import (#7432)

This commit is contained in:
aj-rosado
2024-01-11 16:24:40 +00:00
committed by GitHub
parent 1b1336d92c
commit 99022e2baa
5 changed files with 22 additions and 8 deletions

View File

@@ -61,9 +61,16 @@
<bit-form-field class="tw-w-1/2">
<bit-label>{{ "fileFormat" | i18n }}</bit-label>
<bit-select formControlName="format">
<bit-option value="" label="-- {{ 'select' | i18n }} --" />
<bit-option
class="tw-font-bold tw-text-muted tw-text-xs"
value="-"
label="{{ 'commonImportFormats' | i18n }}"
disabled
/>
<bit-option *ngFor="let o of featuredImportOptions" [value]="o.id" [label]="o.name" />
<ng-container *ngIf="importOptions && importOptions.length">
<bit-option value="-" disabled />
<bit-option value="-" label="--------------------------------------" disabled />
<bit-option *ngFor="let o of importOptions" [value]="o.id" [label]="o.name" />
</ng-container>
</bit-select>