mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 01:15:23 +00:00
set root
This commit is contained in:
parent
47f09ff1dd
commit
aa73338e47
@ -214,6 +214,7 @@ function handleView(row: DashboardItem) {
|
||||
}
|
||||
|
||||
async function setRoot(row: DashboardItem) {
|
||||
console.log(row);
|
||||
const items: any[] = [];
|
||||
loading.value = true;
|
||||
for (const d of dashboardStore.dashboards) {
|
||||
@ -245,6 +246,7 @@ async function setRoot(row: DashboardItem) {
|
||||
if (
|
||||
d.layer === row.layer &&
|
||||
d.entity === row.entity &&
|
||||
d.id !== row.id &&
|
||||
!row.isRoot &&
|
||||
d.isRoot
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user