Fix issue with merging anon drive

pull/1/head
yflory 6 years ago
parent 6f1e281cf8
commit 2ba6e40161

@ -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;
} }

Loading…
Cancel
Save