fix(core-connections, plugin-connections-administration): CB-2410 Show new connections on the top of the list

This commit is contained in:
Konstantin Vasilev
2022-08-15 17:48:18 +03:00
parent 73a90a8e06
commit d2c4e8971e
@@ -63,8 +63,8 @@ export class ConnectionsAdministrationController {
}
this.isProcessing = true;
try {
this.connectionInfoResource.cleanNewFlags();
await this.connectionInfoResource.refresh(CachedMapAllKey);
this.connectionInfoResource.cleanNewFlags();
this.notificationService.logSuccess({ title: 'connections_administration_tools_refresh_success' });
} catch (exception: any) {
this.notificationService.logException(exception, 'connections_administration_tools_refresh_fail');