diff --git a/src/packages/tree-view/src/file-view.coffee b/src/packages/tree-view/src/file-view.coffee index 97502290c..c036673d6 100644 --- a/src/packages/tree-view/src/file-view.coffee +++ b/src/packages/tree-view/src/file-view.coffee @@ -29,11 +29,11 @@ class FileView extends View @updateStatus() updateStatus: -> - path = @getPath() @removeClass('ignored modified new') repo = @project.repo return unless repo? + path = @getPath() if repo.isPathIgnored(path) @addClass('ignored') else if repo.isPathModified(path)