From 7aa49ab9b7a6d42155d36f4c00ed39384de328f6 Mon Sep 17 00:00:00 2001 From: Daniel Spaude Date: Tue, 25 Oct 2022 23:04:25 +0400 Subject: [PATCH] qrcode: delete qr code if referenced column is deleted * plus some cleanup --- .../components/smartsheet/column/QrCodeOptions.vue | 6 ------ packages/nc-gui/components/virtual-cell/QrCode.vue | 2 +- packages/nocodb/src/lib/models/Column.ts | 13 +++++++++++++ 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue b/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue index fe07dcbad9..41bcbd246a 100644 --- a/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue +++ b/packages/nc-gui/components/smartsheet/column/QrCodeOptions.vue @@ -35,17 +35,11 @@ const columnsAllowedAsQrValue = computed(() => { // set default value vModel.value.fk_qr_value_column_id = (column?.value?.colOptions as Record)?.fk_qr_value_column_id || '' -// console.log('vModel.value.fk_qr_value_column_id', vModel.value.fk_qr_value_column_id) - -const jsonstr = computed(() => { - return JSON.stringify(vModel.value, null, 2) -})