Skip to content

Commit

Permalink
hideNoEdit flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Nov 7, 2023
1 parent fe68391 commit 284f33b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ui/locations/entries/geometry.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export default entry => {

list.push(modifyBtn)
}
} else if (entry.hideNoEdit) {

// Don't show entry with hideNoEdit flag
return;
}

// Push modify button into list.
Expand Down

0 comments on commit 284f33b

Please sign in to comment.