From e41efb718fb2e66ec9b4de83bd209d8b75138588 Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 10 Jun 2023 11:53:22 +0300 Subject: [PATCH] fix: PR requested change Signed-off-by: mertmit --- packages/nc-gui/components/cell/MultiSelect.vue | 5 +---- packages/nc-gui/components/cell/Text.vue | 7 ++----- packages/nc-gui/components/cell/TextArea.vue | 5 +---- packages/nc-gui/components/virtual-cell/QrCode.vue | 7 ++----- .../nc-gui/components/virtual-cell/barcode/Barcode.vue | 7 ++----- packages/nc-gui/context/index.ts | 2 +- 6 files changed, 9 insertions(+), 24 deletions(-) diff --git a/packages/nc-gui/components/cell/MultiSelect.vue b/packages/nc-gui/components/cell/MultiSelect.vue index fd08652054..044f406aad 100644 --- a/packages/nc-gui/components/cell/MultiSelect.vue +++ b/packages/nc-gui/components/cell/MultiSelect.vue @@ -53,10 +53,7 @@ const isPublic = inject(IsPublicInj, ref(false)) const isForm = inject(IsFormInj, ref(false)) -const rowHeight = inject( - RowHeightInj, - computed(() => undefined), -) +const rowHeight = inject(RowHeightInj, ref(undefined)) const selectedIds = ref([]) diff --git a/packages/nc-gui/components/cell/Text.vue b/packages/nc-gui/components/cell/Text.vue index 058baf01a7..95c1ad35b0 100644 --- a/packages/nc-gui/components/cell/Text.vue +++ b/packages/nc-gui/components/cell/Text.vue @@ -1,6 +1,6 @@