-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Disable the export data button if the poll has less than 3 participants #663
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Report for the pull request #663🌐 Translation statusUI's texts
FAQ's questions
|
@paulsouche ready to review ! |
@@ -25,7 +25,13 @@ export default function ExportDataButton({ | |||
}: ButtonProps & Props) { | |||
const [isLoading, setIsLoading] = useState(false) | |||
|
|||
const isDisabled = isLoading || simulationRecaps?.length < 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour moi c'est pas caché. L'utilisateur va pas comprendre pourquoi c'est disabled
. La carte spécifie cacher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui tu as raison !
No description provided.