Bruno17/MIGX

Unclear logic for displaying the lexicon for empty items in grid

Ruslan-Aleev opened this issue · 0 comments

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