Do not show delete button on new record

This commit is contained in:
Daniel Lautzenheiser 2022-10-11 08:43:59 -04:00
parent ccde4a0bb2
commit f87632f80a

View File

@ -365,7 +365,7 @@ function mapStateToProps(state, ownProps) {
const scrollSyncEnabled = scroll.isScrolling; const scrollSyncEnabled = scroll.isScrolling;
return { return {
showDelete: !ownProps.newEntry && selectAllowDeletion(collection), showDelete: !newEntry && selectAllowDeletion(collection),
collection, collection,
collections, collections,
newEntry, newEntry,