init: show symlinks in ui
This commit is contained in:
parent
96d049445b
commit
1cdef8d662
1 changed files with 5 additions and 2 deletions
|
@ -82,8 +82,11 @@ function Status:name()
|
||||||
if h == nil then
|
if h == nil then
|
||||||
return ui.Span("")
|
return ui.Span("")
|
||||||
end
|
end
|
||||||
|
local linked = ""
|
||||||
return ui.Span(" " .. h.name)
|
if h.link_to ~= nil then
|
||||||
|
linked = " -> " .. tostring(h.link_to)
|
||||||
|
end
|
||||||
|
return ui.Span(" " .. h.name .. linked)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Status:permissions()
|
function Status:permissions()
|
||||||
|
|
Loading…
Reference in a new issue