90252: Remove old cleanup code

& add tests to confirm that DataService.delete is called
This commit is contained in:
Yura Bondarenko
2022-04-13 12:03:27 +02:00
parent c19d12c5c0
commit 9699491269
25 changed files with 333 additions and 165 deletions

View File

@@ -128,7 +128,6 @@ export class MetadataRegistryComponent {
* Delete all the selected metadata schemas
*/
deleteSchemas() {
this.registryService.clearMetadataSchemaRequests().subscribe();
this.registryService.getSelectedMetadataSchemas().pipe(take(1)).subscribe(
(schemas) => {
const tasks$ = [];
@@ -148,7 +147,6 @@ export class MetadataRegistryComponent {
}
this.registryService.deselectAllMetadataSchema();
this.registryService.cancelEditMetadataSchema();
this.forceUpdateSchemas();
});
}
);