This is an automated email from the ASF dual-hosted git repository.
wusheng 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 7338cec6 fix metrics query (#430)
7338cec6 is described below
commit 7338cec6b44117bcc70a4a09a8a1038b796c3afb
Author: Fine0830 <[email protected]>
AuthorDate: Fri Nov 22 15:53:37 2024 +0800
fix metrics query (#430)
---
src/views/dashboard/panel/Layout.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/dashboard/panel/Layout.vue
b/src/views/dashboard/panel/Layout.vue
index bfebc00c..9a93aae4 100644
--- a/src/views/dashboard/panel/Layout.vue
+++ b/src/views/dashboard/panel/Layout.vue
@@ -88,7 +88,7 @@ limitations under the License. -->
const index = isNaN(item.activedTabIndex) ? 0 :
item.activedTabIndex;
widgets.push(
...item.children[index].children.filter(
- (d: LayoutConfig) => !ListChartTypes.includes(d.graph?.type ||
""),
+ (d: LayoutConfig) => d.type === WidgetType.Widget &&
!ListChartTypes.includes(d.graph?.type || ""),
),
);
}