Merge pull request #1248 from getmaxun/show-prompt

fix: show retrain option only for extract recorder mode robots
This commit is contained in:
Karishma Shukla
2026-10-16 15:45:11 +05:30
committed by GitHub
+1 -1
View File
@@ -898,7 +898,7 @@ const OptionsButton = ({ handleRetrain, handleEdit, handleDuplicate, handleDelet
open={Boolean(anchorEl)}
onClose={handleClose}
>
{robotType !== 'scrape' && !isAgentRobot && (
{robotType === 'extract' && !isAgentRobot && (
<MenuItem onClick={() => { handleRetrain(); handleClose(); }}>
<ListItemIcon>
<Refresh fontSize="small" />