mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 03:45:43 +00:00
fix: path (#314)
This commit is contained in:
parent
dce1035f2e
commit
ce4608ad4b
@ -203,7 +203,7 @@ limitations under the License. -->
|
|||||||
(d: DashboardItem) => MetricCatalog.SERVICE_RELATION === d.entity && dashboard.layer === d.layer,
|
(d: DashboardItem) => MetricCatalog.SERVICE_RELATION === d.entity && dashboard.layer === d.layer,
|
||||||
);
|
);
|
||||||
const list = serviceRelationDashboards.map((d: { path: string } & DashboardItem, index: number) => {
|
const list = serviceRelationDashboards.map((d: { path: string } & DashboardItem, index: number) => {
|
||||||
let path = `/dashboard/related/${d.layer}/${d.entity}/${serviceId}/${destServiceId}/${d.name}`;
|
let path = `/dashboard/${d.layer}/${d.entity}/${d.name}`;
|
||||||
if (destServiceId) {
|
if (destServiceId) {
|
||||||
path = `/dashboard/related/${d.layer}/${d.entity}/${serviceId}/${destServiceId}/${d.name}`;
|
path = `/dashboard/related/${d.layer}/${d.entity}/${serviceId}/${destServiceId}/${d.name}`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user