diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index bddce2d40f..98d33832f2 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -627,7 +627,7 @@ const checkFieldIsAllowEmpty = (allField?) => { if ( !value['allowEmpty'] && value['limit'] && - view.value?.[key]?.length < parseInt(value['limit']) + (!view.value?.[key] || view.value?.[key]?.length < parseInt(value['limit'])) ) { showEmpty.value = true return false