feat: Make Invoke Button also the progress bar

This commit is contained in:
blessedcoolant
2023-06-02 17:24:40 +12:00
parent 2bdb655375
commit f143fb7254
3 changed files with 23 additions and 21 deletions

View File

@ -5,7 +5,6 @@ import { SystemState } from 'features/system/store/systemSlice';
import { isEqual } from 'lodash-es';
import { memo } from 'react';
import { useTranslation } from 'react-i18next';
import { PROGRESS_BAR_THICKNESS } from 'theme/util/constants';
import { systemSelector } from '../store/systemSelectors';
const progressBarSelector = createSelector(
@ -35,7 +34,7 @@ const ProgressBar = () => {
value={value}
aria-label={t('accessibility.invokeProgressBar')}
isIndeterminate={isProcessing && !currentStatusHasSteps}
height={PROGRESS_BAR_THICKNESS}
height="full"
/>
);
};