fix: work name management
This commit is contained in:
parent
48bf222f4e
commit
831df21930
2 changed files with 21 additions and 1 deletions
|
|
@ -1172,6 +1172,13 @@ function triggerConfirmCloseWork() {
|
|||
dialogWarningClose(t, {
|
||||
action: () => {
|
||||
manageWorkNameDialog.value = false;
|
||||
if(workNameItems.value[workNameItems.value.length - 1].name ===''){
|
||||
|
||||
confirmDeleteWork(
|
||||
workNameItems.value[workNameItems.value.length - 1].id,
|
||||
true,
|
||||
);
|
||||
}
|
||||
},
|
||||
cancel: () => {},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue