feat: call the reset api before opening the run drawer each time #918 (#1370)

### What problem does this PR solve?

feat:  call the reset api before opening the run drawer each time #918
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-04 15:10:45 +08:00
committed by GitHub
parent 4122695a1a
commit 1d3e4844a5
5 changed files with 51 additions and 15 deletions

View File

@ -1,9 +1,9 @@
import {
BranchesOutlined,
DatabaseOutlined,
FormOutlined,
MergeCellsOutlined,
MessageOutlined,
QuestionOutlined,
RocketOutlined,
SendOutlined,
SlidersOutlined,
@ -28,7 +28,7 @@ export const operatorIconMap = {
[Operator.Categorize]: DatabaseOutlined,
[Operator.Message]: MessageOutlined,
[Operator.Relevant]: BranchesOutlined,
[Operator.RewriteQuestion]: QuestionOutlined,
[Operator.RewriteQuestion]: FormOutlined,
};
export const operatorMap = {
@ -76,7 +76,12 @@ export const operatorMap = {
},
[Operator.RewriteQuestion]: {
description: 'RewriteQuestion description',
backgroundColor: 'white',
backgroundColor: '#f8c7f8',
color: 'white',
width: 70,
height: 70,
fontSize: 12,
iconFontSize: 16,
},
};