This is an automated email from the ASF dual-hosted git repository.

wankai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 63e01540 fix: list (#364)
63e01540 is described below

commit 63e01540dc545d05dca87bd1625e3598367825de
Author: Fine0830 <[email protected]>
AuthorDate: Wed Jan 17 12:21:07 2024 +0800

    fix: list (#364)
---
 src/store/modules/dashboard.ts | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/store/modules/dashboard.ts b/src/store/modules/dashboard.ts
index 6aca1c06..c784acee 100644
--- a/src/store/modules/dashboard.ts
+++ b/src/store/modules/dashboard.ts
@@ -344,11 +344,9 @@ export const dashboardStore = defineStore({
         const key = [c.layer, c.entity, c.name].join("_");
 
         list.push({
+          ...c,
           id: t.id,
-          layer: c.layer,
-          entity: c.entity,
-          name: c.name,
-          isRoot: c.isRoot,
+          children: undefined,
         });
         sessionStorage.setItem(key, JSON.stringify({ id: t.id, configuration: 
c }));
       }

Reply via email to