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', okText: 'Yes',
okType: 'danger', okType: 'danger',
cancelText: 'No', cancelText: 'No',
async onOk() { onOk() {
try { try {
removeFile(i) removeFile(i)
} catch (e: any) { } catch (e: any) {

Loading…
Cancel
Save