1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-01 11:01:17 +00:00

[AC-1102]Automatic Sync is visible for self hosted Families Orgs (#9565)

* Add the changes to remove automasync for family org

* Remove changes to the form field file

* Rename productType to productTierType

* Add Upload license and License file

* Hide the License and upload License label

* Resolve the issue of Validation required for family org
This commit is contained in:
cyprain-okeke
2024-07-11 18:05:17 +01:00
committed by GitHub
parent 39eed02904
commit cc206d4c3f
8 changed files with 39 additions and 7 deletions

View File

@@ -74,6 +74,7 @@
[value]="licenseOptions.SYNC"
[disabled]="disableLicenseSyncControl"
class="tw-block"
*ngIf="showAutomaticSyncAndManualUpload"
>
<bit-label
>{{ "automaticSync" | i18n }}
@@ -114,6 +115,7 @@
id="manual-upload"
[value]="licenseOptions.UPLOAD"
class="tw-mt-6 tw-block"
*ngIf="showAutomaticSyncAndManualUpload"
>
<bit-label>{{ "manualUpload" | i18n }}</bit-label>
<bit-hint>
@@ -121,8 +123,14 @@
</bit-hint>
</bit-radio-button>
<ng-container *ngIf="updateMethod === licenseOptions.UPLOAD">
<h3 class="tw-font-semibold">{{ "uploadLicense" | i18n }}</h3>
<bit-label class="tw-mb-6 tw-block" *ngIf="!showAutomaticSyncAndManualUpload">
{{ "licenseAndBillingManagementDesc" | i18n }}
</bit-label>
<h3 *ngIf="showAutomaticSyncAndManualUpload" class="tw-font-semibold">
{{ "uploadLicense" | i18n }}
</h3>
<app-update-license
[showAutomaticSyncAndManualUpload]="showAutomaticSyncAndManualUpload"
[organizationId]="organizationId"
[showCancel]="false"
(onUpdated)="licenseUploaded()"