Skip to content

Commit 9d643bd

Browse files
Disable generate image prompt
1 parent 99ead31 commit 9d643bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/ActionPopup/SortableItem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ const SortableItem = ({ propRef, loopIndex, item }) => {
359359
value={ item.data.generateImagePrompt ? unescape(item.data.generateImagePrompt.replaceAll(''', '\'')) : '' }
360360
onChange={ ( currentValue ) => propRef.onChangeHandler( { 'index': loopIndex, 'generateImagePrompt': currentValue ?? '' } ) }
361361
help={ __( 'Add specific instructions to customize the image generation. By default, images are based on the item’s title and content. Use this field to guide the style of the image, for example: Realistic, artistic, comic-style, etc.', 'feedzy-rss-feeds' ) }
362+
disabled={!feedzyData.isPro || !feedzyData.apiLicenseStatus.openaiStatus}
362363
/>
363364
</BaseControl>
364365
</PanelRow>

0 commit comments

Comments
 (0)