diff --git a/compose/neurosynth-frontend/src/pages/Study/components/DisplayExtractionTableState.tsx b/compose/neurosynth-frontend/src/pages/Study/components/DisplayExtractionTableState.tsx index fe88e675..9774614a 100644 --- a/compose/neurosynth-frontend/src/pages/Study/components/DisplayExtractionTableState.tsx +++ b/compose/neurosynth-frontend/src/pages/Study/components/DisplayExtractionTableState.tsx @@ -98,10 +98,8 @@ const DisplayExtractionTableState: React.FC = (props) => { }; const filterStr = (extractionTableState?.columnFilters || []).reduce((acc, curr, index) => { - if (index === 0) { - return `Filtering by: ${curr.id}: ${curr.value}`; - } - return `${acc}, ${curr.id}: ${curr.value}`; + if (index === 0) return `Filtering by: ${curr.id}: ${curr.value || 'All'}`; + return `${acc}, ${curr.id}: ${curr.value || 'All'}`; }, ''); const sortingStr = (extractionTableState?.sorting || []).reduce((acc, curr, index) => { diff --git a/compose/neurosynth-frontend/src/pages/Study/components/EditStudyCompleteButton.tsx b/compose/neurosynth-frontend/src/pages/Study/components/EditStudyCompleteButton.tsx index 837c9fba..70478b8a 100644 --- a/compose/neurosynth-frontend/src/pages/Study/components/EditStudyCompleteButton.tsx +++ b/compose/neurosynth-frontend/src/pages/Study/components/EditStudyCompleteButton.tsx @@ -1,4 +1,5 @@ -import { Box, Button } from '@mui/material'; +import { Box } from '@mui/material'; +import LoadingButton from 'components/Buttons/LoadingButton'; import { EExtractionStatus } from 'pages/Extraction/ExtractionPage'; import { useProjectExtractionAddOrUpdateStudyListStatus, @@ -7,7 +8,6 @@ import { import React from 'react'; import { useParams } from 'react-router-dom'; import useSaveStudy from '../hooks/useSaveStudy'; -import LoadingButton from 'components/Buttons/LoadingButton'; const EditStudyCompleteButton: React.FC = React.memo((props) => { const { studyId } = useParams<{ studyId: string }>(); @@ -28,23 +28,18 @@ const EditStudyCompleteButton: React.FC = React.memo((props) => { return ( diff --git a/compose/neurosynth-frontend/src/pages/Study/components/EditStudySwapVersionButton.tsx b/compose/neurosynth-frontend/src/pages/Study/components/EditStudySwapVersionButton.tsx index 640a325b..527760b8 100644 --- a/compose/neurosynth-frontend/src/pages/Study/components/EditStudySwapVersionButton.tsx +++ b/compose/neurosynth-frontend/src/pages/Study/components/EditStudySwapVersionButton.tsx @@ -137,13 +137,13 @@ const EditStudySwapVersionButton: React.FC = (props) => { diff --git a/compose/neurosynth-frontend/src/pages/Study/components/EditStudyToolbar.tsx b/compose/neurosynth-frontend/src/pages/Study/components/EditStudyToolbar.tsx index fd6e44e9..5fd751ed 100644 --- a/compose/neurosynth-frontend/src/pages/Study/components/EditStudyToolbar.tsx +++ b/compose/neurosynth-frontend/src/pages/Study/components/EditStudyToolbar.tsx @@ -1,4 +1,4 @@ -import { KeyboardArrowLeft, KeyboardArrowRight } from '@mui/icons-material'; +import { Check, KeyboardArrowLeft, KeyboardArrowRight } from '@mui/icons-material'; import BookmarkIcon from '@mui/icons-material/Bookmark'; import DoneAllIcon from '@mui/icons-material/DoneAll'; import QuestionMark from '@mui/icons-material/QuestionMark'; @@ -259,11 +259,11 @@ const EditStudyToolbar: React.FC<{ isViewOnly?: boolean }> = ({ isViewOnly = fal > + + +