allow to add image when API key is not set
This commit is contained in:
@@ -805,7 +805,7 @@ export default function ChatBOX(props: {
|
|||||||
size="icon"
|
size="icon"
|
||||||
type="button"
|
type="button"
|
||||||
onClick={() => setShowAddImage(true)}
|
onClick={() => setShowAddImage(true)}
|
||||||
disabled={showGenerating || !chatStore.apiKey}
|
disabled={showGenerating}
|
||||||
>
|
>
|
||||||
<ImageIcon className="size-4" />
|
<ImageIcon className="size-4" />
|
||||||
<span className="sr-only">Add Image</span>
|
<span className="sr-only">Add Image</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user