From 9eb7cfbadd54e5b2e3bbd02c18b1da2ba25bf813 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 15 Mar 2025 08:36:08 -0700 Subject: [PATCH] show icons in assistant dropdown in config page --- gui/src/pages/config/index.tsx | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx index 15d8578a2..eba2def75 100644 --- a/gui/src/pages/config/index.tsx +++ b/gui/src/pages/config/index.tsx @@ -5,6 +5,7 @@ import { CheckIcon, ChevronUpDownIcon, PlusCircleIcon, + SparklesIcon, UserCircleIcon, XMarkIcon, } from "@heroicons/react/24/outline"; @@ -244,9 +245,21 @@ function ConfigPage() { {({ open }) => (
- - {selectedProfile?.title ?? "No Assistant Selected"} - +
+ {selectedProfile?.iconUrl ? ( + + ) : ( + + )} + + {selectedProfile?.title ?? + "No Assistant Selected"} + +
+ {option?.iconUrl ? ( + + ) : ( + + )} {option.title}