@@ -133,7 +133,7 @@ function M.refresh_tree(callback)
|
|||||||
refresh_nodes(M.Tree, projects)
|
refresh_nodes(M.Tree, projects)
|
||||||
if view.win_open() then
|
if view.win_open() then
|
||||||
M.redraw()
|
M.redraw()
|
||||||
if callback then
|
if callback and type(callback) == 'function' then
|
||||||
callback()
|
callback()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user