Skip to content

Commit

Permalink
fix: hide automatic button on automatic result page (#4494)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinomoe authored May 22, 2024
1 parent 4f62541 commit 2988b67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ const Prompt: FC<ISimplePromptInput> = ({
)}
</div>
<div className='flex items-center'>
{!isAgent && (
{!isAgent && !readonly && (
<AutomaticBtn onClick={showAutomaticTrue} />
)}
</div>
Expand Down

0 comments on commit 2988b67

Please sign in to comment.