15803: Add checks that user uuid (from getUserUuid) is defined
[arvados-workbench2.git] / src / store / trash-panel / trash-panel-middleware-service.ts
index c9a6b93d9cc239361c0d1e3381d9350c14906a7d..bf7fae56ece038391cc7bde875ce7a8baf590a26 100644 (file)
@@ -66,9 +66,7 @@ export class TrashPanelMiddlewareService extends DataExplorerMiddlewareService {
         }
 
         const userUuid = getUserUuid(api.getState());
-        if (!userUuid) {
-            return;
-        }
+        if (!userUuid) { return; }
         try {
             api.dispatch(progressIndicatorActions.START_WORKING(this.getId()));
             const listResults = await this.services.groupsService