Skip to content

Commit

Permalink
Fix tbl_islist -> tbl_isarray for ui node table rows
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsenkbeil committed Jun 26, 2023
1 parent 2f0559d commit dba1d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/distant-core/ui/nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function M.Table(rows, extra)
end
end

if type(extra) == 'table' and vim.tbl_islist(extra) then
if type(extra) == 'table' and vim.tbl_isarray(extra) then
--- @type distant.core.ui.INode[]
local rows_with_extra = {}

Expand Down

0 comments on commit dba1d06

Please sign in to comment.