From e3856f2f603acd54025c161831512774b023763e Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 16 Nov 2023 12:24:13 +0000 Subject: [PATCH] fix: missing closing brace --- packages/nocodb/src/db/conditionV2.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/nocodb/src/db/conditionV2.ts b/packages/nocodb/src/db/conditionV2.ts index 2bc5c7ee24..955273fc5b 100644 --- a/packages/nocodb/src/db/conditionV2.ts +++ b/packages/nocodb/src/db/conditionV2.ts @@ -8,13 +8,14 @@ import type Column from '~/models/Column'; import type LookupColumn from '~/models/LookupColumn'; import type RollupColumn from '~/models/RollupColumn'; import type FormulaColumn from '~/models/FormulaColumn'; +import type { BarcodeColumn, QrCodeColumn } from '~/models'; import { NcError } from '~/helpers/catchError'; import formulaQueryBuilderv2 from '~/db/formulav2/formulaQueryBuilderv2'; import genRollupSelectv2 from '~/db/genRollupSelectv2'; import { sanitize } from '~/helpers/sqlSanitize'; import Filter from '~/models/Filter'; import generateLookupSelectQuery from '~/db/generateLookupSelectQuery'; -import {BarcodeColumn, Model, QrCodeColumn} from '~/models'; +import { Model } from '~/models'; import { getAliasGenerator } from '~/utils'; // tod: tobe fixed @@ -138,8 +139,9 @@ const parseConditionV2 = async ( // if qrCode or Barcode replace it with value column if ([UITypes.QrCode, UITypes.Barcode].includes(column.uidt)) filter.fk_column_id = await column - .getColOptions() - .then((col) => col.fk_column_id) + .getColOptions() + .then((col) => col.fk_column_id); + } } const column = await filter.getColumn();