Fixed: (UI) Show available indexers count in Add Indexer

This commit is contained in:
Bogdan
2023-07-13 00:37:57 +03:00
parent 4a88b70f40
commit 9bac2992b5
4 changed files with 32 additions and 6 deletions
@@ -278,12 +278,18 @@ class AddIndexerModalContent extends Component {
</Scroller>
</ModalBody>
<ModalFooter>
<Button
onPress={onModalClose}
>
{translate('Close')}
</Button>
<ModalFooter className={styles.modalFooter}>
<div className={styles.available}>
{
isPopulated ?
translate('CountIndexersAvailable', [filteredIndexers.length]) :
null
}
</div>
<div>
<Button onPress={onModalClose}>{translate('Close')}</Button>
</div>
</ModalFooter>
</ModalContent>
);