File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
registries/components/custom-step
registry/pages/registry-overview Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,7 @@ <h3 class="mb-2">
139139 }
140140
141141 @case (FieldType.Text) {
142- < input
143- [formControlName] ="q.responseKey! "
144- type ="text "
145- class ="w-full "
146- [placeholder] ="q.exampleText "
147- pInputText
148- />
142+ < input [formControlName] ="q.responseKey! " type ="text " class ="w-full " pInputText />
149143 @if (
150144 stepForm.controls[q.responseKey!].errors?.['required'] &&
151145 (stepForm.controls[q.responseKey!].touched || stepForm.controls[q.responseKey!].dirty)
Original file line number Diff line number Diff line change @@ -113,7 +113,8 @@ export class RegistryOverviewComponent {
113113 const schemaResponses =
114114 ( this . isModeration
115115 ? registry ?. schemaResponses
116- : registry ?. schemaResponses . filter ( ( r ) => r . reviewsState === RevisionReviewStates . Approved ) ) || [ ] ;
116+ : registry ?. schemaResponses . filter ( ( r ) => r . reviewsState === RevisionReviewStates . Approved || this . isAdmin ) ) ||
117+ [ ] ;
117118 if ( index !== null ) {
118119 return schemaResponses [ index ] ;
119120 }
You can’t perform that action at this time.
0 commit comments