mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
58789: Tests for deleting metadata schema and fields
This commit is contained in:
@@ -162,7 +162,7 @@ export class MetadataSchemaComponent implements OnInit {
|
||||
const tasks$ = [];
|
||||
for (const field of fields) {
|
||||
if (hasValue(field.id)) {
|
||||
tasks$.push(this.registryService.deleteMetadataSchema(field.id));
|
||||
tasks$.push(this.registryService.deleteMetadataField(field.id));
|
||||
}
|
||||
}
|
||||
zip(...tasks$).subscribe((responses: RestResponse[]) => {
|
||||
|
Reference in New Issue
Block a user