mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 10:05:24 +00:00
fix entity
This commit is contained in:
parent
b817ed5825
commit
39caab5238
@ -166,9 +166,9 @@ const states = reactive<{
|
|||||||
currentDestPod: "",
|
currentDestPod: "",
|
||||||
});
|
});
|
||||||
const key = computed(() => {
|
const key = computed(() => {
|
||||||
const type = EntityType.filter(
|
const type = EntityType.find(
|
||||||
(d: Option) => d.value === dashboardStore.entity
|
(d: Option) => d.value === dashboardStore.entity
|
||||||
)[0];
|
);
|
||||||
|
|
||||||
return (type && type.key) || 0;
|
return (type && type.key) || 0;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user