feat: add datasets detail context and provider for improved data vali… (#16451)
This commit is contained in:
parent
83cd14104d
commit
9701b573e0
7 changed files with 192 additions and 35 deletions
|
|
@ -160,7 +160,7 @@ const Header: FC = () => {
|
|||
const { mutateAsync: publishWorkflow } = usePublishWorkflow(appID!)
|
||||
|
||||
const onPublish = useCallback(async (params?: PublishWorkflowParams) => {
|
||||
if (handleCheckBeforePublish()) {
|
||||
if (await handleCheckBeforePublish()) {
|
||||
const res = await publishWorkflow({
|
||||
title: params?.title || '',
|
||||
releaseNotes: params?.releaseNotes || '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue