feat: Status tags can show loader to complement displayed text (#5137)

Resolves #5134 



https://github.com/twentyhq/twenty/assets/16918891/48475f1b-a61f-4b87-8b9b-1271a183ac4b

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Orinami Olatunji
2024-04-25 10:27:17 +02:00
committed by GitHub
co-authored by Félix Malfait
parent a283a3deed
commit 0ccbdacb5a
3 changed files with 31 additions and 7 deletions
@@ -17,6 +17,7 @@ export const SettingsAccountsSynchronizationStatus = ({
return (
<Status
color={syncStatusOption?.color ?? 'gray'}
isLoaderVisible={syncStatus === 'ONGOING' || syncStatus === 'PENDING'}
text={syncStatusOption?.label ?? 'Not synced'}
weight="medium"
/>