* 1923 skip empty git icons * 1923 skip empty git icons
This commit is contained in:
committed by
GitHub
parent
215b29bfad
commit
8505b6ecd8
@@ -79,9 +79,11 @@ local function get_icons_(node)
|
|||||||
end
|
end
|
||||||
|
|
||||||
for _, icon in pairs(icons) do
|
for _, icon in pairs(icons) do
|
||||||
if not inserted[icon] then
|
if #icon.str > 0 then
|
||||||
table.insert(iconss, icon)
|
if not inserted[icon] then
|
||||||
inserted[icon] = true
|
table.insert(iconss, icon)
|
||||||
|
inserted[icon] = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user