mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:49:24 +00:00
fix: link
This commit is contained in:
parent
f1dd89cfa4
commit
9c2e8508f0
@ -152,14 +152,16 @@ limitations under the License. -->
|
|||||||
const origin = dashboardStore.entity;
|
const origin = dashboardStore.entity;
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
hideTip();
|
hideTip();
|
||||||
const dashboard =
|
const { dashboard } = getDashboard(
|
||||||
getDashboard(
|
{
|
||||||
{
|
layer: d.layer || "",
|
||||||
layer: d.layer || "",
|
entity: EntityType[3].value,
|
||||||
entity: EntityType[3].value,
|
},
|
||||||
},
|
ConfigFieldTypes.ISDEFAULT,
|
||||||
ConfigFieldTypes.ISDEFAULT,
|
);
|
||||||
).dashboard || {};
|
if (!dashboard) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const name = dashboard.name;
|
const name = dashboard.name;
|
||||||
const path = `/dashboard/${dashboard.layer}/${EntityType[3].value}/${d.serviceId}/${d.key}/${name}`;
|
const path = `/dashboard/${dashboard.layer}/${EntityType[3].value}/${d.serviceId}/${d.key}/${name}`;
|
||||||
const routeUrl = router.resolve({ path });
|
const routeUrl = router.resolve({ path });
|
||||||
|
@ -160,14 +160,17 @@ limitations under the License. -->
|
|||||||
const origin = dashboardStore.entity;
|
const origin = dashboardStore.entity;
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
hideTip();
|
hideTip();
|
||||||
const dashboard =
|
const { dashboard } = getDashboard(
|
||||||
getDashboard(
|
{
|
||||||
{
|
layer: d.layer || "",
|
||||||
layer: d.layer || "",
|
entity: EntityType[0].value,
|
||||||
entity: EntityType[0].value,
|
},
|
||||||
},
|
ConfigFieldTypes.ISDEFAULT,
|
||||||
ConfigFieldTypes.ISDEFAULT,
|
);
|
||||||
).dashboard || {};
|
if (!dashboard) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const name = dashboard.name;
|
const name = dashboard.name;
|
||||||
const path = `/dashboard/${dashboard.layer}/${EntityType[0].value}/${d.key}/${name}`;
|
const path = `/dashboard/${dashboard.layer}/${EntityType[0].value}/${d.key}/${name}`;
|
||||||
const routeUrl = router.resolve({ path });
|
const routeUrl = router.resolve({ path });
|
||||||
|
Loading…
Reference in New Issue
Block a user