From c17939a6341c7a130449f90da23a7f2c3dd15a30 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 7 Dec 2024 07:37:13 +0000 Subject: [PATCH] chore(nc-gui): lint --- .../smartsheet/grid/InfiniteTable.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue index 303fa91d34..2df1f9f187 100644 --- a/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue +++ b/packages/nc-gui/components/smartsheet/grid/InfiniteTable.vue @@ -665,15 +665,13 @@ const onActiveCellChanged = () => { } } +const isOpen = ref(false) + const isDeleteAllModalIsOpen = ref(false) + async function deleteAllRecords() { isDeleteAllModalIsOpen.value = true - function closeDlg() { - isOpen.value = false - close(200) - } - const { close } = useDialog(resolveComponent('DlgRecordDeleteAll'), { 'modelValue': isDeleteAllModalIsOpen, 'rows': totalRows.value, @@ -685,10 +683,14 @@ async function deleteAllRecords() { }, }) + function closeDlg() { + isOpen.value = false + close(200) + } + await until(isDeleteAllModalIsOpen).toBe(false) } -const isOpen = ref(false) async function expandRows({ newRows, newColumns, @@ -1878,9 +1880,7 @@ watch(vSelectedAllRecords, (selectedAll) => { data-testid="nc-check-all" class="flex items-center pl-2 pr-1 w-full h-full justify-center" > -
- # -
+
#