Commit 389a4efc authored by Phil Hughes's avatar Phil Hughes

fixed bug with file not re-opening

parent a0e53bcb
...@@ -171,7 +171,7 @@ export const createOrMergeEntry = ({ projectId, ...@@ -171,7 +171,7 @@ export const createOrMergeEntry = ({ projectId,
} }
if (state.openFiles.length) { if (state.openFiles.length) {
const foundOpenFile = findEntry(state.openFiles, type, entry.path); const foundOpenFile = findEntry(state.openFiles, type, entry.name);
if (foundOpenFile) { if (foundOpenFile) {
return foundOpenFile; return foundOpenFile;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment