mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-14 11:21:29 +00:00
fix: Instance Relation and Endpoint Relation dashboards show up (#209)
This commit is contained in:
@@ -191,9 +191,13 @@ export const topologyStore = defineStore({
|
||||
return res.data.data.topology;
|
||||
},
|
||||
async getInstanceTopology() {
|
||||
const serverServiceId = useSelectorStore().currentService.id;
|
||||
const clientServiceId = useSelectorStore().currentDestService.id;
|
||||
const { currentService, currentDestService } = useSelectorStore();
|
||||
const serverServiceId = (currentService && currentService.id) || "";
|
||||
const clientServiceId = (currentDestService && currentDestService.id) || "";
|
||||
const duration = useAppStoreWithOut().durationTime;
|
||||
if (!(serverServiceId && clientServiceId)) {
|
||||
return;
|
||||
}
|
||||
const res: AxiosResponse = await graphql.query("getInstanceTopology").params({
|
||||
clientServiceId,
|
||||
serverServiceId,
|
||||
|
Reference in New Issue
Block a user