This commit is contained in:
Fine 2024-10-24 15:37:03 +08:00
parent adb3586531
commit f434ddef8a

View File

@ -80,8 +80,7 @@ limitations under the License. -->
const widgets = []; const widgets = [];
for (const item of dashboardStore.layout) { for (const item of dashboardStore.layout) {
if (item.type === WidgetType.Widget) { if (item.type === WidgetType.Widget) {
const isList = ListChartTypes.includes(item.graph?.type || ""); if (!ListChartTypes.includes(item.graph?.type || "")) {
if (!isList) {
widgets.push(item); widgets.push(item);
} }
} }