mirror of
https://github.com/getmaxun/maxun.git
synced 2026-10-16 20:21:03 +08:00
Merge pull request #1248 from getmaxun/show-prompt
fix: show retrain option only for extract recorder mode robots
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user