diff --git a/src/views/dashboard/panel/Layout.vue b/src/views/dashboard/panel/Layout.vue index b6380910..bfebc00c 100644 --- a/src/views/dashboard/panel/Layout.vue +++ b/src/views/dashboard/panel/Layout.vue @@ -80,8 +80,7 @@ limitations under the License. --> const widgets = []; for (const item of dashboardStore.layout) { if (item.type === WidgetType.Widget) { - const isList = ListChartTypes.includes(item.graph?.type || ""); - if (!isList) { + if (!ListChartTypes.includes(item.graph?.type || "")) { widgets.push(item); } }