Skip to content

Commit

Permalink
fix metrics query (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fine0830 authored Nov 22, 2024
1 parent 536df8c commit 7338cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/dashboard/panel/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 || ""),
),
);
}
Expand Down

0 comments on commit 7338cec

Please sign in to comment.