fix: hide automatic button on automatic result page (#4494)

pull/3697/head
sino 2 years ago committed by GitHub
parent 4f62541bfb
commit 2988b67c24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -148,7 +148,7 @@ const Prompt: FC<ISimplePromptInput> = ({
)}
</div>
<div className='flex items-center'>
{!isAgent && (
{!isAgent && !readonly && (
<AutomaticBtn onClick={showAutomaticTrue} />
)}
</div>

Loading…
Cancel
Save