Fixed git workspace sync/publish locations

This commit is contained in:
Benoit Schweblin 2018-09-20 12:12:27 +01:00
parent fa3d9b30c2
commit 6fd4513c34

View File

@ -136,6 +136,7 @@ const store = new Vuex.Store({
id: undefined, id: undefined,
type: undefined, type: undefined,
fileId: undefined, fileId: undefined,
hash: undefined,
}), true); }), true);
const extension = item.type === 'syncLocation' ? 'sync' : 'publish'; const extension = item.type === 'syncLocation' ? 'sync' : 'publish';
result[id] = `${pathsByItemId[item.fileId]}.${encodedItem}.${extension}`; result[id] = `${pathsByItemId[item.fileId]}.${encodedItem}.${extension}`;