fix: selector

This commit is contained in:
Fine 2023-08-01 15:19:25 +08:00
parent 344f2a6608
commit ef3c1ad846

View File

@ -340,7 +340,7 @@ limitations under the License. -->
selectorStore.setCurrentPod(null);
states.currentPod = "";
states.currentProcess = "";
const e = dashboardStore.entity === EntityType[7].value ? EntityType[8].value : dashboardStore.entity;
const e = dashboardStore.entity.split("Relation")[0];
fetchPods(e, selectorStore.currentService.id, true);
} else {
selectorStore.setCurrentService(null);