KNOX-2104 - Removing redundant resource cleanup so that data table can keep track of its activePage/rowsOnTable attributes (#179)
diff --git a/gateway-admin-ui/admin-ui/app/resource/resource.component.ts b/gateway-admin-ui/admin-ui/app/resource/resource.component.ts
index ff682a9..6ba0b1c 100644
--- a/gateway-admin-ui/admin-ui/app/resource/resource.component.ts
+++ b/gateway-admin-ui/admin-ui/app/resource/resource.component.ts
@@ -51,7 +51,6 @@
this.resourceType = resType;
this.resourceService.selectedResourceType(this.resourceType);
- this.resources = []; // Clear the table before loading the new resources
this.resourceService.getResources(resType)
.then(resources => {
this.resources = resources;