mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 18:45:23 +00:00
update
This commit is contained in:
parent
8d74554639
commit
668e1a4d19
@ -104,16 +104,10 @@ export const anchorElement = (graph: any, funcs: any, tip: any) => {
|
||||
})
|
||||
.attr("xlink:href", (d: Call) => {
|
||||
const types = [...d.sourceComponents, ...d.targetComponents];
|
||||
if (types.includes("tcp")) {
|
||||
if (types.includes("tcp") || types.includes("http")) {
|
||||
return icons.HTTPDARK;
|
||||
}
|
||||
if (types.includes("https")) {
|
||||
return icons.HTTPS;
|
||||
}
|
||||
if (types.includes("http")) {
|
||||
return icons.HTTPDARK;
|
||||
}
|
||||
if (types.includes("tls")) {
|
||||
if (types.includes("https") || types.includes("tls")) {
|
||||
return icons.HTTPS;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user