mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): hide add prompt buttons when user has a prompt
This commit is contained in:
parent
c73aabdfbf
commit
293e11cfa6
@ -75,7 +75,7 @@ export const RPLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
<RPLayerSettingsPopover layerId={layerId} />
|
<RPLayerSettingsPopover layerId={layerId} />
|
||||||
<RPLayerMenu layerId={layerId} />
|
<RPLayerMenu layerId={layerId} />
|
||||||
</Flex>
|
</Flex>
|
||||||
<AddPromptButtons layerId={layerId} />
|
{!hasPositivePrompt && !hasNegativePrompt && !hasIPAdapters && <AddPromptButtons layerId={layerId} />}
|
||||||
{hasPositivePrompt && <RPLayerPositivePrompt layerId={layerId} />}
|
{hasPositivePrompt && <RPLayerPositivePrompt layerId={layerId} />}
|
||||||
{hasNegativePrompt && <RPLayerNegativePrompt layerId={layerId} />}
|
{hasNegativePrompt && <RPLayerNegativePrompt layerId={layerId} />}
|
||||||
{hasIPAdapters && <RPLayerIPAdapterList layerId={layerId} />}
|
{hasIPAdapters && <RPLayerIPAdapterList layerId={layerId} />}
|
||||||
|
Loading…
Reference in New Issue
Block a user