mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: selectors
This commit is contained in:
parent
7fe3257c32
commit
19c09966ef
@ -363,8 +363,6 @@ limitations under the License. -->
|
||||
async function changePods(pod: Option[]) {
|
||||
selectorStore.setCurrentPod(pod[0] || null);
|
||||
if ([EntityType[7].value, EntityType[8].value].includes(dashboardStore.entity)) {
|
||||
selectorStore.setCurrentProcess(null);
|
||||
states.currentProcess = "";
|
||||
fetchProcess(true);
|
||||
}
|
||||
}
|
||||
@ -594,6 +592,9 @@ limitations under the License. -->
|
||||
if (currentProcess) {
|
||||
selectorStore.setCurrentProcess(currentProcess);
|
||||
states.currentProcess = currentProcess.label;
|
||||
} else {
|
||||
selectorStore.setCurrentProcess(null);
|
||||
states.currentProcess = "";
|
||||
}
|
||||
}
|
||||
return resp;
|
||||
|
Loading…
Reference in New Issue
Block a user