File tree 1 file changed +12
-10
lines changed
client/app/src/pages/whistleblower/form
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1
- @for (row of rows; track row; let fieldRow = $index) {
2
- < div class ="row ">
3
- @for (field of row | orderBy:'x' ;let fieldCol = $index; track field) {
4
- @if (field.enabled) {
5
- < div [ngClass] ="fieldUtilitiesService.getClass(field, row.length) ">
6
- < src-form-field-inputs [fileUploadUrl] ="fileUploadUrl " (notifyFileUpload) ="notifyFileUpload.emit() " [fieldEntry] = fieldEntry [identity_provided] =identity_provided [uploads] ="uploads " [entry] ="entry " [fields] ="fields " [step] ="step " [displayErrors] ="displayErrors " [index] ="index " [submission] ="submission " [answers] ="answers " [stepId] ="stepId " [fieldCol] ="fieldCol " [fieldRow] ="fieldRow " [field] ="field "> </ src-form-field-inputs >
7
- </ div >
1
+ @if (rows.length) {
2
+ @for (row of rows; track row; let fieldRow = $index) {
3
+ < div class ="row ">
4
+ @for (field of row | orderBy:'x' ;let fieldCol = $index; track field) {
5
+ @if (field.enabled) {
6
+ < div [ngClass] ="fieldUtilitiesService.getClass(field, row.length) ">
7
+ < src-form-field-inputs [fileUploadUrl] ="fileUploadUrl " (notifyFileUpload) ="notifyFileUpload.emit() " [fieldEntry] = fieldEntry [identity_provided] =identity_provided [uploads] ="uploads " [entry] ="entry " [fields] ="fields " [step] ="step " [displayErrors] ="displayErrors " [index] ="index " [submission] ="submission " [answers] ="answers " [stepId] ="stepId " [fieldCol] ="fieldCol " [fieldRow] ="fieldRow " [field] ="field "> </ src-form-field-inputs >
8
+ </ div >
9
+ }
8
10
}
9
- }
10
- </ div >
11
- }
11
+ </ div >
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments