Skip to content

Commit

Permalink
AI Featured Image: Show Upgrade Prompt after generation (#36899)
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoagds authored Apr 15, 2024
1 parent be64b86 commit 5022df3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: other

Avoid showing featured image upgrade prompt on generating
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default function FeaturedImage( { busy, disabled }: { busy: boolean; disa
<AiAssistantModal handleClose={ toggleFeaturedImageModal } title={ modalTitle }>
<div className="ai-assistant-featured-image__content">
<div className="ai-assistant-featured-image__image-canvas">
{ ( requireUpgrade || notEnoughRequests ) && (
{ ( requireUpgrade || notEnoughRequests ) && ! currentPointer?.generating && (
<UpgradePrompt
description={
notEnoughRequests
Expand Down

0 comments on commit 5022df3

Please sign in to comment.