mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Relativize paths to project for folder label
This commit is contained in:
@@ -60,7 +60,7 @@ class FuzzyFinderView extends SelectList
|
||||
typeClass = 'text-name'
|
||||
|
||||
@span fs.base(path), class: "file label #{typeClass}"
|
||||
if folder = fs.directory(path)
|
||||
if folder = fs.directory(project.relativize(path))
|
||||
@span " - #{folder}/", class: 'directory'
|
||||
|
||||
openPath: (path) ->
|
||||
|
||||
Reference in New Issue
Block a user