Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

Unclear logic for displaying the lexicon for empty items in grid #432

Open Ruslan-Aleev opened 1 month ago

Ruslan-Aleev commented 1 month ago

The logic for displaying the lexicon for empty items is unclear (emptyText), for example see https://github.com/Bruno17/MIGX/blob/master/core/components/migx/templates/mgr/grids/default.grid.tpl#L53 .

If you remove the items, the text is displayed normally.

migx_empty_grid

If you refresh the page, the text disappears, although there are no elements. This is observed if TVs are located under the content, and not in a separate tab. And this is sooooo confusing for users.

migx_empty_grid_refresh