diff --git a/client/src/app/pages/repositories/Mvn.tsx b/client/src/app/pages/repositories/Mvn.tsx index 6d62e49ee5..5bdd2ea856 100644 --- a/client/src/app/pages/repositories/Mvn.tsx +++ b/client/src/app/pages/repositories/Mvn.tsx @@ -30,7 +30,7 @@ export const RepositoriesMvn: React.FC = () => { const { t } = useTranslation(); const [isConfirmDialogOpen, setIsConfirmDialogOpen] = - React.useState(false); + React.useState(false); const mvnInsecureSetting = useSetting("mvn.insecure.enabled"); const mvnInsecureSettingMutation = useSettingMutation("mvn.insecure.enabled"); @@ -101,7 +101,7 @@ export const RepositoriesMvn: React.FC = () => { isAriaDisabled={!isRWXSupported || isFetching || isDeleting} onClick={() => setIsConfirmDialogOpen(true)} > - {isFetching ? ( + {isRWXSupported && isFetching ? ( Loading...