@@ -11,7 +11,7 @@ import { SubmissionObject } from '../../core/submission/models/submission-object
1111import { SubmissionDefinitionsModel } from '../../core/config/models/config-submission-definitions.model' ;
1212import { SectionsType } from '../sections/sections-type' ;
1313import { Item } from '../../core/shared/item.model' ;
14- import { SectionVisibility } from './section-visibility.model' ;
14+ import { SectionScope , SectionVisibility } from './section-visibility.model' ;
1515import { SubmissionError } from './submission-error.model' ;
1616import { SubmissionSectionError } from './submission-section-error.model' ;
1717
@@ -116,6 +116,7 @@ export class InitSectionAction implements Action {
116116 header : string ;
117117 config : string ;
118118 mandatory : boolean ;
119+ scope : SectionScope ;
119120 sectionType : SectionsType ;
120121 visibility : SectionVisibility ;
121122 enabled : boolean ;
@@ -136,6 +137,8 @@ export class InitSectionAction implements Action {
136137 * the section's config
137138 * @param mandatory
138139 * the section's mandatory
140+ * @param scope
141+ * the section's scope
139142 * @param sectionType
140143 * the section's type
141144 * @param visibility
@@ -152,12 +155,13 @@ export class InitSectionAction implements Action {
152155 header : string ,
153156 config : string ,
154157 mandatory : boolean ,
158+ scope : SectionScope ,
155159 sectionType : SectionsType ,
156160 visibility : SectionVisibility ,
157161 enabled : boolean ,
158162 data : WorkspaceitemSectionDataType ,
159163 errors : SubmissionSectionError [ ] ) {
160- this . payload = { submissionId, sectionId, header, config, mandatory, sectionType, visibility, enabled, data, errors } ;
164+ this . payload = { submissionId, sectionId, header, config, mandatory, scope , sectionType, visibility, enabled, data, errors } ;
161165 }
162166}
163167
0 commit comments