mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 03:53:02 +00:00
fix #869 Submission embargo bug
This commit is contained in:
@@ -108,32 +108,3 @@ export const BITSTREAM_FORM_ACCESS_CONDITION_END_DATE_LAYOUT: DynamicFormControl
|
||||
host: 'col-md-4'
|
||||
}
|
||||
};
|
||||
|
||||
export const BITSTREAM_FORM_ACCESS_CONDITION_GROUPS_CONFIG: DynamicSelectModelConfig<any> = {
|
||||
id: 'groupUUID',
|
||||
label: 'submission.sections.upload.form.group-label',
|
||||
options: [],
|
||||
relations: [
|
||||
{
|
||||
match: MATCH_ENABLED,
|
||||
operator: OR_OPERATOR,
|
||||
when: []
|
||||
}
|
||||
],
|
||||
required: true,
|
||||
validators: {
|
||||
required: null
|
||||
},
|
||||
errorMessages: {
|
||||
required: 'submission.sections.upload.form.group-required'
|
||||
}
|
||||
};
|
||||
export const BITSTREAM_FORM_ACCESS_CONDITION_GROUPS_LAYOUT: DynamicFormControlLayout = {
|
||||
element: {
|
||||
container: 'p-0',
|
||||
label: 'col-form-label'
|
||||
},
|
||||
grid: {
|
||||
host: 'col-sm-10'
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user