diff --git a/ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app.component.html b/ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app.component.html index 36f52e8b71..130799776e 100644 --- a/ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app.component.html +++ b/ui-ngx/src/app/modules/home/pages/mobile/applications/mobile-app.component.html @@ -107,7 +107,7 @@ mobile.latest-version - + {{ 'mobile.invalid-version-pattern' | translate }} @@ -130,7 +130,7 @@ {{ (entityForm.get('platformType').value === PlatformType.ANDROID ? 'mobile.google-play-link' : 'mobile.app-store-link') | translate }} - + mobile.sha256-certificate-fingerprints - + mobile.app-id - + { form.get('status').valueChanges.pipe( takeUntilDestroyed() ).subscribe((value: MobileAppStatus) => { - if (value !== MobileAppStatus.DRAFT) { + if (value === MobileAppStatus.PUBLISHED) { form.get('storeInfo.storeLink').addValidators(Validators.required); form.get('storeInfo.sha256CertFingerprints') .addValidators(Validators.required);