Prompt to store edit link to your drive when you're a team viewer

pull/1/head
yflory 4 years ago committed by ansuz
parent 00694e8ebd
commit 19f3dfa677

@ -1080,6 +1080,11 @@ define([
if (data.teamId && s.id !== data.teamId) { return; }
if (storeLocally && s.id) { return; }
// If this is an edit link but we don't have edit rights, this entry is not useful
if (h.mode === "edit" && !s.secondaryKey) {
return;
}
var res = s.manager.findChannel(channel, true);
if (res.length) {
sendTo.push(s.id);

Loading…
Cancel
Save