Skip to content

Commit

Permalink
Merge pull request #42569 from nkdengineer/fix/42219
Browse files Browse the repository at this point in the history
fix: User is already a member of the Workspace message is missing
  • Loading branch information
youssef-lr authored May 29, 2024
2 parents 08b3f04 + 5540a63 commit c7cf7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectionList/BaseSelectionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ function BaseSelectionList<TItem extends ListItem>(
)}
{/* If we are loading new options we will avoid showing any header message. This is mostly because one of the header messages says there are no options. */}
{/* This is misleading because we might be in the process of loading fresh options from the server. */}
{!isLoadingNewOptions && !!headerMessage && (
{(!isLoadingNewOptions || headerMessage !== translate('common.noResultsFound')) && !!headerMessage && (
<View style={headerMessageStyle ?? [styles.ph5, styles.pb5]}>
<Text style={[styles.textLabel, styles.colorMuted]}>{headerMessage}</Text>
</View>
Expand Down

0 comments on commit c7cf7d1

Please sign in to comment.