diff --git a/app/client/modules/repositories/tabs/info.tsx b/app/client/modules/repositories/tabs/info.tsx index 7100fca2..25308f82 100644 --- a/app/client/modules/repositories/tabs/info.tsx +++ b/app/client/modules/repositories/tabs/info.tsx @@ -40,6 +40,9 @@ export const RepositoryInfoTabContent = ({ repository }: Props) => { ); const [showConfirmDialog, setShowConfirmDialog] = useState(false); + const isImportedLocal = repository.type === "local" && repository.config.isExistingRepository; + const effectiveLocalPath = getEffectiveLocalPath(repository); + const updateMutation = useMutation({ ...updateRepositoryMutation(), onSuccess: () => { @@ -116,10 +119,10 @@ export const RepositoryInfoTabContent = ({ repository }: Props) => {
Status

{repository.status || "unknown"}

- {getEffectiveLocalPath(repository) && ( + {effectiveLocalPath && (
Effective Local Path
-

{getEffectiveLocalPath(repository)}

+

{effectiveLocalPath}

)}