Explorar o código

Fix loading execution of wrong replica

Fixes an issue where the execution ID of the previously visited replica
was used to load the execution of the current replica.

This commit makes sure that old execution ID is cleared before leaving
the replica details page.
Sergiu Miclea %!s(int64=2) %!d(string=hai) anos
pai
achega
722a24d401
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/stores/ReplicaStore.ts

+ 1 - 0
src/stores/ReplicaStore.ts

@@ -131,6 +131,7 @@ class ReplicaStore {
 
   @action clearDetails() {
     this.replicaDetails = null;
+    this.currentlyLoadingExecution = "";
   }
 
   @action getReplicasSuccess(replicas: ReplicaItem[]) {