diff --git a/src/components/data-management/LaunchAnalysisButton.jsx b/src/components/data-management/LaunchAnalysisButton.jsx index 2ad57a81eb..f9751d6f66 100644 --- a/src/components/data-management/LaunchAnalysisButton.jsx +++ b/src/components/data-management/LaunchAnalysisButton.jsx @@ -164,9 +164,12 @@ const LaunchAnalysisButton = () => { } if (!canLaunchAnalysis()) { + const message = !cellLevelMetadataIsReady + ? 'Ensure that the cell level metadata file is uploaded correctly' + : 'Ensure that all samples are uploaded successfully and all relevant metadata is inserted.'; return ( {/* disabled button inside tooltip causes tooltip to not function */} {/* https://github.com/react-component/tooltip/issues/18#issuecomment-140078802 */}