feat: naive refresh implementation CB-43

This commit is contained in:
Dmitry Krupenya
2020-05-27 17:19:51 +03:00
parent e357d2c661
commit 4f39acc8b3
@@ -80,8 +80,11 @@ export class NodesManagerService {
});
}
refreshNode(nodeId: string) {
async refreshNode(nodeId: string) {
console.log('refresh', nodeId);
await this.purgeServerCache(nodeId);
this.nodesStore.removeNode(nodeId);
await this.updateNodeInfo(nodeId);
}
getDatabaseObjectInfo(nodeId: string): DatabaseObjectInfoWithId | undefined {