chore: TODO issue links
This commit is contained in:
@@ -269,7 +269,7 @@ function BaseNode:group_empty_folders()
|
||||
local is_root = not self.parent
|
||||
local child_folder_only = self:has_one_child_folder() and self.nodes[1]
|
||||
if self.explorer.opts.renderer.group_empty and not is_root and child_folder_only then
|
||||
---@cast self DirectoryNode -- TODO move this to the class
|
||||
---@cast self DirectoryNode -- TODO #2886 move this to the class
|
||||
self.group_next = child_folder_only
|
||||
local ns = child_folder_only:group_empty_folders()
|
||||
self.nodes = ns or {}
|
||||
@@ -292,7 +292,7 @@ end
|
||||
function BaseNode:expand_or_collapse(toggle_group)
|
||||
toggle_group = toggle_group or false
|
||||
if self.has_children then
|
||||
---@cast self DirectoryNode -- TODO move this to the class
|
||||
---@cast self DirectoryNode -- TODO #2886 move this to the class
|
||||
self.has_children = false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user