Browse Source

chore(nc-gui): remove unnecessary async

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
c1d1ffcd8f
  1. 2
      packages/nc-gui/components/cell/attachment/Modal.vue

2
packages/nc-gui/components/cell/attachment/Modal.vue

@ -64,7 +64,7 @@ function onRemoveFileClick(title: any, i: number) {
okText: 'Yes',
okType: 'danger',
cancelText: 'No',
async onOk() {
onOk() {
try {
removeFile(i)
} catch (e: any) {

Loading…
Cancel
Save