diff --git a/screens/Proxiwash/ProxiwashScreen.js b/screens/Proxiwash/ProxiwashScreen.js index c832904..5ae43c1 100644 --- a/screens/Proxiwash/ProxiwashScreen.js +++ b/screens/Proxiwash/ProxiwashScreen.js @@ -387,12 +387,12 @@ export default class ProxiwashScreen extends React.Component { } getRenderSectionHeader({section}: Object) { - const subtitle = this.getMachineAvailableNumber(section.title === i18n.t('proxiwashScreen.dryers')) + ' ' + i18n.t('proxiwashScreen.numAvailable'); + const isDryer = section.title === i18n.t('proxiwashScreen.dryers'); + const subtitle = this.getMachineAvailableNumber(isDryer) + ' ' + i18n.t('proxiwashScreen.numAvailable'); return ( { } /> );