Browse Source

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 2 năm trước cách đây
mục cha
commit
722a24d401
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/stores/ReplicaStore.ts

+ 1 - 0
src/stores/ReplicaStore.ts

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