diff --git a/CHANGELOG.md b/CHANGELOG.md index 0942eba..2a310b7 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.7 + +- Fixed regression that led to [#13](https://github.com/oriolmirosa/open-files/issues/13) + ## 0.5.6 - Fix for [#10](https://github.com/oriolmirosa/open-files/issues/10) diff --git a/lib/open-files-pane-view.js b/lib/open-files-pane-view.js index 85a61f7..bae9bb9 100755 --- a/lib/open-files-pane-view.js +++ b/lib/open-files-pane-view.js @@ -249,7 +249,7 @@ export default class OpenFilesPaneView { removeEntry(item) { let index = _.findIndex(this.items, entry => entry.item === item); - if (index && index >= 0) { + if (index >= 0) { this.items[index].element.remove(); this.items.splice(index, 1); let itemFullPath