Fix 'store pad prompt' always displayed

pull/1/head
yflory 4 years ago committed by ansuz
parent 47eace89bf
commit f0eda8b795

@ -1081,7 +1081,7 @@ define([
if (storeLocally && s.id) { 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 this is an edit link but we don't have edit rights, this entry is not useful
if (h.mode === "edit" && !s.secondaryKey) { if (h.mode === "edit" && s.id && !s.secondaryKey) {
return; return;
} }

Loading…
Cancel
Save