Skip to content

Commit 6471057

Browse files
committed
fix(home): add folder icon to mention chip overlay
1 parent b965bec commit 6471057

File tree

1 file changed

+4
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/home/components/user-input

1 file changed

+4
-1
lines changed

apps/sim/app/workspace/[workspaceId]/home/components/user-input/user-input.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import type React from 'react'
44
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'
55
import { useParams } from 'next/navigation'
6-
import { Database, Table as TableIcon } from '@/components/emcn/icons'
6+
import { Database, Folder as FolderIcon, Table as TableIcon } from '@/components/emcn/icons'
77
import { getDocumentIcon } from '@/components/icons/document-icons'
88
import { useSession } from '@/lib/auth/auth-client'
99
import { cn } from '@/lib/core/utils/cn'
@@ -664,6 +664,9 @@ export function UserInput({
664664
mentionIconNode = <FileDocIcon className={iconClasses} />
665665
break
666666
}
667+
case 'folder':
668+
mentionIconNode = <FolderIcon className={iconClasses} />
669+
break
667670
}
668671
}
669672

0 commit comments

Comments
 (0)