diff --git a/frontend/src/pages/dashboard/user-selector.js b/frontend/src/pages/dashboard/user-selector.js
index e41766175f..00802b9dae 100644
--- a/frontend/src/pages/dashboard/user-selector.js
+++ b/frontend/src/pages/dashboard/user-selector.js
@@ -73,10 +73,12 @@ class UserSelector extends Component {
return (
- {gettext('Modified by:')}
- {currentSelectedUsers.length > 0 && (
- {currentSelectedUsers.map(item => item.name).join(', ')}
- )}
+ {currentSelectedUsers.length > 0 ? (
+ <>
+ {gettext('Modified by:')}
+ {currentSelectedUsers.map(item => item.name).join(', ')}
+ >
+ ) : gettext('Modified by')}
{isPopoverOpen && (