Bugfix/Credential Filter (#5553)

* update credential filter by name

* update FlowListMenu and dialog components with refresh functionality
This commit is contained in:
Henry Heng
2025-12-05 13:09:25 +00:00
committed by GitHub
parent 5cdaf3c494
commit 77ceeb9a3e
10 changed files with 45 additions and 18 deletions
@@ -17,7 +17,7 @@ import useNotifier from '@/utils/useNotifier'
// API
import chatflowsApi from '@/api/chatflows'
const ChatFeedback = ({ dialogProps }) => {
const ChatFeedback = ({ dialogProps, onConfirm }) => {
const dispatch = useDispatch()
useNotifier()
@@ -57,6 +57,7 @@ const ChatFeedback = ({ dialogProps }) => {
}
})
dispatch({ type: SET_CHATFLOW, chatflow: saveResp.data })
onConfirm?.()
}
} catch (error) {
enqueueSnackbar({
@@ -102,7 +103,8 @@ const ChatFeedback = ({ dialogProps }) => {
}
ChatFeedback.propTypes = {
dialogProps: PropTypes.object
dialogProps: PropTypes.object,
onConfirm: PropTypes.func
}
export default ChatFeedback