This commit is contained in:
Jean-Patrick Guerrero 2022-09-25 16:55:24 +02:00
parent 325d6f30be
commit 4c4911eb4f
2 changed files with 11 additions and 7 deletions

View File

@ -1491,6 +1491,10 @@ local function get_items_fs(fs, data, player, full_height)
data.pagemax = max(1, ceil(#items / ipp))
if data.pagenum > data.pagemax then
data.pagenum = data.pagemax
end
if #items == 0 then
local lbl = ES"No item to show"
local icon, width, offset = PNG.no_result, 4, 2