mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
refactory for metadata and collection params
This commit is contained in:
@@ -109,12 +109,10 @@ export abstract class FieldParser {
|
||||
}
|
||||
}
|
||||
|
||||
public setVocabularyOptions(controlModel, scope) {
|
||||
public setVocabularyOptions(controlModel) {
|
||||
if (isNotEmpty(this.configData.selectableMetadata) && isNotEmpty(this.configData.selectableMetadata[0].controlledVocabulary)) {
|
||||
controlModel.vocabularyOptions = new VocabularyOptions(
|
||||
this.configData.selectableMetadata[0].controlledVocabulary,
|
||||
this.configData.selectableMetadata[0].metadata,
|
||||
scope,
|
||||
this.configData.selectableMetadata[0].closed
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user