Do not show delete button on new record
This commit is contained in:
parent
ccde4a0bb2
commit
f87632f80a
@ -365,7 +365,7 @@ function mapStateToProps(state, ownProps) {
|
||||
const scrollSyncEnabled = scroll.isScrolling;
|
||||
|
||||
return {
|
||||
showDelete: !ownProps.newEntry && selectAllowDeletion(collection),
|
||||
showDelete: !newEntry && selectAllowDeletion(collection),
|
||||
collection,
|
||||
collections,
|
||||
newEntry,
|
||||
|
Loading…
x
Reference in New Issue
Block a user