From 16ae5ed60002f84f45fa5932c4bcf7e5e93bccbf Mon Sep 17 00:00:00 2001 From: sahil Date: Tue, 8 Mar 2022 21:21:47 +0530 Subject: [PATCH] show no results found text --- src/pages/iou/IOUCurrencySelection.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pages/iou/IOUCurrencySelection.js b/src/pages/iou/IOUCurrencySelection.js index 3121ecae154..09ad555d5c0 100644 --- a/src/pages/iou/IOUCurrencySelection.js +++ b/src/pages/iou/IOUCurrencySelection.js @@ -204,9 +204,15 @@ class IOUCurrencySelection extends Component { )} renderSectionHeader={({section: {title}}) => ( - - {title} - + {this.state.currencyData.length === 0 ? ( + + {this.props.translate('common.noResultsFound')} + + ) : ( + + {title} + + )} )} />