feat: Go to shows a repo file's icon before its name (#85)
Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #85.
This commit is contained in:
1 parent
0f5248d8f6
commit
e2f289da5c
4 files changed
+58
-29
No files matched your search
@@ -269,7 +269,7 @@ func (m Model) refLabel(r ref.Ref) string {
|
||||
default:
|
||||
path = append(path, r.ContainerName(), r.Name)
|
||||
}
|
||||
label := m.pathLabel(r.Kind, path, "")
|
||||
label := m.pathLabel(r.Kind, path, "", m.refFileIcon(r))
|
||||
var extra []string
|
||||
if t := strings.ToLower(pluralLabels[r.Type]); t != "" && r.Type != provider.TypeSecret {
|
||||
if r.IsContainer() {
|
||||
|
||||
Reference in new issue
Block a user