Fix duplicate pads in teams

pull/1/head
yflory 3 years ago
parent 755228e43c
commit c86ffead3c

@ -1161,6 +1161,7 @@ define([
//var storeLocally = data.teamId === -1; //var storeLocally = data.teamId === -1;
if (data.teamId === -1) { data.teamId = undefined; } if (data.teamId === -1) { data.teamId = undefined; }
if (data.teamId) { data.teamId = Number(data.teamId); }
// If a teamId is provided, it means we want to store the pad in a specific // If a teamId is provided, it means we want to store the pad in a specific
// team drive. In this case, we just need to check if the pad is already // team drive. In this case, we just need to check if the pad is already

Loading…
Cancel
Save