From b948c812f45b35e8788f64bc4d8766f1c88ea802 Mon Sep 17 00:00:00 2001 From: Stanislaw Adaszewski Date: Wed, 4 Mar 2020 08:29:49 +0100 Subject: [PATCH] Fix default selection cell/sharing button render functions in WBProcessListing. --- frontend/src/js/component/wb-process-listing.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frontend/src/js/component/wb-process-listing.js b/frontend/src/js/component/wb-process-listing.js index 96eaf49..45e0e35 100644 --- a/frontend/src/js/component/wb-process-listing.js +++ b/frontend/src/js/component/wb-process-listing.js @@ -115,11 +115,13 @@ class WBProcessListing extends Component { } WBProcessListing.defaultProps = { - 'itemsPerPage': 100, - 'ownerUuid': null, - 'requestingContainerUuid': null, - 'renderRenameLink': () => {}, - 'renderDeleteButton': () => {} + itemsPerPage: 100, + ownerUuid: null, + requestingContainerUuid: null, + renderRenameLink: () => null, + renderDeleteButton: () => null, + renderSelectionCell: () => null, + renderSharingButton: () => null }; export default WBProcessListing;