mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: After modifying the application name and publishing , name was not updated(#2799)
This commit is contained in:
parent
9da7a553bf
commit
7a3a975645
|
|
@ -270,7 +270,7 @@ async function publicHandle() {
|
|||
const obj = {
|
||||
work_flow: getGraphData()
|
||||
}
|
||||
await application.asyncPutApplication(id, obj)
|
||||
await application.asyncPutApplication(id, obj, loading)
|
||||
const workflow = new WorkFlowInstance(obj.work_flow)
|
||||
try {
|
||||
workflow.is_valid()
|
||||
|
|
@ -280,6 +280,7 @@ async function publicHandle() {
|
|||
}
|
||||
applicationApi.putPublishApplication(id as String, obj, loading).then(() => {
|
||||
MsgSuccess(t('views.applicationWorkflow.tip.publicSuccess'))
|
||||
getDetail()
|
||||
})
|
||||
})
|
||||
.catch((res: any) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue