Fix icons + add retries for indexing

This commit is contained in:
Weves
2023-05-05 14:14:36 -07:00
committed by Chris Weaver
parent 63f93594a3
commit 4f4c65acac
2 changed files with 21 additions and 9 deletions

View File

@@ -14,11 +14,11 @@ const ICON_STYLE = "text-blue-600 my-auto mr-1 flex flex-shrink-0";
const getSourceIcon = (sourceType: string) => {
switch (sourceType) {
case "Web":
case "web":
return <Globe size={ICON_SIZE} className={ICON_STYLE} />;
case "Slack":
case "slack":
return <SlackLogo size={ICON_SIZE} className={ICON_STYLE} />;
case "Google Drive":
case "google_drive":
return <GoogleDriveLogo size={ICON_SIZE} className={ICON_STYLE} />;
default:
return null;