mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
hide folder form field when configuration has hideFolderSelection set to true
This commit is contained in:
@@ -18,7 +18,11 @@
|
|||||||
<input bitInput formControlName="name" />
|
<input bitInput formControlName="name" />
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<div class="tw-grid tw-grid-cols-2 tw-gap-1">
|
<div class="tw-grid tw-grid-cols-2 tw-gap-1">
|
||||||
<bit-form-field *ngIf="showOwnership" [disableMargin]="!showCollectionsControl">
|
<bit-form-field
|
||||||
|
*ngIf="showOwnership"
|
||||||
|
[disableMargin]="!showCollectionsControl"
|
||||||
|
[class.tw-col-span-2]="config.hideFolderSelection"
|
||||||
|
>
|
||||||
<bit-label>{{ "owner" | i18n }}</bit-label>
|
<bit-label>{{ "owner" | i18n }}</bit-label>
|
||||||
<bit-select formControlName="organizationId">
|
<bit-select formControlName="organizationId">
|
||||||
<bit-option
|
<bit-option
|
||||||
@@ -36,6 +40,7 @@
|
|||||||
<bit-form-field
|
<bit-form-field
|
||||||
[class.tw-col-span-2]="!showOwnership"
|
[class.tw-col-span-2]="!showOwnership"
|
||||||
[disableMargin]="!showCollectionsControl"
|
[disableMargin]="!showCollectionsControl"
|
||||||
|
*ngIf="!config.hideFolderSelection"
|
||||||
>
|
>
|
||||||
<bit-label>{{ "folder" | i18n }}</bit-label>
|
<bit-label>{{ "folder" | i18n }}</bit-label>
|
||||||
<bit-select formControlName="folderId">
|
<bit-select formControlName="folderId">
|
||||||
|
|||||||
Reference in New Issue
Block a user