Fix issue with merging anon drive

This commit is contained in:
yflory 2019-07-13 10:07:04 +02:00
parent 6f1e281cf8
commit 2ba6e40161

View File

@ -49,7 +49,7 @@ define([
// We want to merge an edit pad: check if we have the same channel // We want to merge an edit pad: check if we have the same channel
// but read-only and upgrade it in that case // but read-only and upgrade it in that case
datas.forEach(function (pad) { datas.forEach(function (pad) {
if (!pad.href) { data.href = pad.href; } if (pad.data && !pad.data.href) { pad.data.href = data.href; }
}); });
return; return;
} }