diff --git a/src/app/features/registries/components/custom-step/custom-step.component.html b/src/app/features/registries/components/custom-step/custom-step.component.html index e9ef298df..4e54d6ead 100644 --- a/src/app/features/registries/components/custom-step/custom-step.component.html +++ b/src/app/features/registries/components/custom-step/custom-step.component.html @@ -139,13 +139,7 @@

} @case (FieldType.Text) { - + @if ( stepForm.controls[q.responseKey!].errors?.['required'] && (stepForm.controls[q.responseKey!].touched || stepForm.controls[q.responseKey!].dirty) diff --git a/src/app/features/registry/pages/registry-overview/registry-overview.component.ts b/src/app/features/registry/pages/registry-overview/registry-overview.component.ts index a6598507a..87011a718 100644 --- a/src/app/features/registry/pages/registry-overview/registry-overview.component.ts +++ b/src/app/features/registry/pages/registry-overview/registry-overview.component.ts @@ -113,7 +113,8 @@ export class RegistryOverviewComponent { const schemaResponses = (this.isModeration ? registry?.schemaResponses - : registry?.schemaResponses.filter((r) => r.reviewsState === RevisionReviewStates.Approved)) || []; + : registry?.schemaResponses.filter((r) => r.reviewsState === RevisionReviewStates.Approved || this.isAdmin)) || + []; if (index !== null) { return schemaResponses[index]; }