Commit 3a8a4f23 authored by Eric Eastwood's avatar Eric Eastwood

Compare by path to fix page-loaded file duplication

parent 4f3da7be
......@@ -160,7 +160,7 @@ const RepoStore = {
const openFile = file;
const openedFilesAlreadyExists = RepoStore.openedFiles
.some(openedFile => openedFile.url === openFile.url);
.some(openedFile => openedFile.path === openFile.path);
if (openedFilesAlreadyExists) return;
......
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