mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix duplicate pads in teams
This commit is contained in:
parent
755228e43c
commit
c86ffead3c
@ -1161,6 +1161,7 @@ define([
|
||||
|
||||
//var storeLocally = data.teamId === -1;
|
||||
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
|
||||
// team drive. In this case, we just need to check if the pad is already
|
||||
|
||||
Loading…
Reference in New Issue
Block a user