Browse Source

chore: lint

pull/9013/head
Pranav C 4 months ago
parent
commit
0cba31035d
  1. 2
      packages/nc-gui/components/smartsheet/toolbar/CreateSort.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue
  3. 3
      packages/nocodb/src/helpers/dataHelpers.ts

2
packages/nc-gui/components/smartsheet/toolbar/CreateSort.vue

@ -27,7 +27,7 @@ const options = computed<ColumnType[]>(
return true
}
if (isSystemColumn(metaColumnById?.value?.[c.id!])) {
if (isHiddenCol(c,meta.value)) {
if (isHiddenCol(c, meta.value)) {
/** ignore mm relation column, created by and last modified by system field */
return false
}

2
packages/nc-gui/components/smartsheet/toolbar/FieldListAutoCompleteDropdown.vue

@ -39,7 +39,7 @@ const options = computed<SelectProps['options']>(() =>
}
if (isSystemColumn(metaColumnById?.value?.[c.id!])) {
if (isHiddenCol(c,meta.value)) {
if (isHiddenCol(c, meta.value)) {
/** ignore mm relation column, created by and last modified by system field */
return false
}

3
packages/nocodb/src/helpers/dataHelpers.ts

@ -166,10 +166,9 @@ export async function serializeCellValue(
data = JSON.parse(value);
}
if(!Array.isArray(data)) {
if (!Array.isArray(data)) {
data = undefined;
}
} catch {
data = undefined;
}

Loading…
Cancel
Save