Skip to content

Commit 7a3a975

Browse files
fix: After modifying the application name and publishing , name was not updated(#2799)
1 parent 9da7a55 commit 7a3a975

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/views/application-workflow/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ async function publicHandle() {
270270
const obj = {
271271
work_flow: getGraphData()
272272
}
273-
await application.asyncPutApplication(id, obj)
273+
await application.asyncPutApplication(id, obj, loading)
274274
const workflow = new WorkFlowInstance(obj.work_flow)
275275
try {
276276
workflow.is_valid()
@@ -280,6 +280,7 @@ async function publicHandle() {
280280
}
281281
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
282282
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
283+
getDetail()
283284
})
284285
})
285286
.catch((res: any) => {

0 commit comments

Comments
 (0)