diff --git a/gui/src/components/indexing/DocsIndexingStatus.tsx b/gui/src/components/indexing/DocsIndexingStatus.tsx index 31604874f..12627dff5 100644 --- a/gui/src/components/indexing/DocsIndexingStatus.tsx +++ b/gui/src/components/indexing/DocsIndexingStatus.tsx @@ -5,9 +5,9 @@ import { ArrowPathIcon, ArrowTopRightOnSquareIcon, CheckCircleIcon, + ExclamationTriangleIcon, PauseCircleIcon, TrashIcon, - XMarkIcon, } from "@heroicons/react/24/outline"; import { useAppDispatch, useAppSelector } from "../../redux/hooks"; import { updateIndexingStatus } from "../../redux/slices/indexingSlice"; @@ -24,7 +24,7 @@ const STATUS_TO_ICON: Record = { complete: CheckCircleIcon, aborted: null, pending: null, - failed: XMarkIcon, // Since we show an error message below + failed: ExclamationTriangleIcon, // Since we show an error message below }; function DocsIndexingStatus({ docConfig }: IndexingStatusViewerProps) { diff --git a/gui/src/components/indexing/DocsIndexingStatuses.tsx b/gui/src/components/indexing/DocsIndexingStatuses.tsx index 76feb21e0..445c4db93 100644 --- a/gui/src/components/indexing/DocsIndexingStatuses.tsx +++ b/gui/src/components/indexing/DocsIndexingStatuses.tsx @@ -16,8 +16,7 @@ function DocsIndexingStatuses() {

@docs indexes

{configDocs.length ? ( { dispatch(setShowDialog(true)); dispatch(setDialogMessage()); @@ -32,10 +31,11 @@ function DocsIndexingStatuses() { ? "Manage your documentation sources" : "No docs yet"} -
+
{configDocs.length === 0 && ( { dispatch(setShowDialog(true)); dispatch(setDialogMessage());