fix: Controlnet Prepreocessed Image Save Icon Missing

This commit is contained in:
blessedcoolant 2023-08-30 04:05:36 +12:00
parent dd2057322c
commit 11fa87388b

View File

@ -180,11 +180,19 @@ const ControlNetImagePreview = ({ isSmall, controlNet }: Props) => {
isUploadDisabled={true}
isDropDisabled={!isEnabled}
>
<IAIDndImageIcon
onClick={handleResetControlImage}
icon={controlImage ? <FaUndo /> : undefined}
tooltip="Reset Control Image"
/>
<>
<IAIDndImageIcon
onClick={handleResetControlImage}
icon={controlImage ? <FaUndo /> : undefined}
tooltip="Reset Control Image"
/>
<IAIDndImageIcon
onClick={handleSaveControlImage}
icon={controlImage ? <FaSave size={16} /> : undefined}
tooltip="Save Control Image"
styleOverrides={{ marginTop: 6 }}
/>
</>
</IAIDndImage>
</Box>
{pendingControlImages.includes(controlNetId) && (