58789: Empty page error fix and navigate to last page on delete

This commit is contained in:
Kristof De Langhe
2019-01-24 11:14:17 +01:00
parent 552dce0960
commit 03702dc0dc
3 changed files with 5 additions and 3 deletions

View File

@@ -175,7 +175,6 @@ export class MetadataSchemaComponent implements OnInit {
this.showNotification(false, failedResponses.length);
}
this.registryService.deselectAllMetadataField();
this.router.navigate([], { queryParams: { page: 1 }, queryParamsHandling: 'merge'});
this.forceUpdateFields();
});
}