diff --git a/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx b/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx index 5ed5315a4b..3c2ded0166 100644 --- a/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx +++ b/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx @@ -1,4 +1,5 @@ import { + Flex, Popover, PopoverBody, PopoverContent, @@ -82,28 +83,40 @@ const ParamEmbeddingPopover = (props: Props) => { p: 0, top: -1, shadow: 'dark-lg', - bg: 'accent.300', - _dark: { bg: 'accent.400' }, + borderColor: 'accent.300', + borderWidth: '2px', + borderStyle: 'solid', + _dark: { borderColor: 'accent.400' }, }} > - - item.label.toLowerCase().includes(value.toLowerCase().trim()) || - item.value.toLowerCase().includes(value.toLowerCase().trim()) - } - onChange={handleChange} - /> + {data.length === 0 ? ( + + + No Embeddings Loaded + + + ) : ( + + item.label.toLowerCase().includes(value.toLowerCase().trim()) || + item.value.toLowerCase().includes(value.toLowerCase().trim()) + } + onChange={handleChange} + /> + )}