Fix 'store pad prompt' always displayed

pull/1/head
yflory 4 years ago
parent 83b318f156
commit fe30d5243c

@ -1081,7 +1081,7 @@ define([
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) {
if (h.mode === "edit" && s.id && !s.secondaryKey) {
return;
}

Loading…
Cancel
Save