mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 08:25:25 +00:00
refactor
This commit is contained in:
parent
adb3586531
commit
f434ddef8a
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user