π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(Sentry TypeError): b.filter is not a function
Ramesh Mane8c1f7d61388b
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vueindex 917a6c1bd4..fbd8132144 100644--- a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue+++ b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue@@ -76,9 +76,13 @@ function processOldDataFor(key: string) {if (meta.value?.[key]?.type === 'Attachment') {// Attachment cell value can be string so we have to parse it- return parseHelper(odata)?.filter(- (it: AttachmentType) => !parseHelper(ndata)?.some((t: AttachmentType) => t.title === it.title),- )+ if (!ncIsArray(parseHelper(odata))) return []++ return parseHelper(odata)?.filter((it: AttachmentType) => {+ if (!ncIsArray(parseHelper(ndata))) return true++ return !parseHelper(ndata)?.some((t: AttachmentType) => t.title === it.title)+ })}if (meta.value?.[key]?.type === 'MultiSelect') {return odata?.filter?.((it: string) => !ndata?.includes?.(it)) ?? odatadiff --git a/packages/nc-gui/components/smartsheet/expanded-form/presentors/Discussion/AuditInfoExpressive.vue b/packages/nc-gui/components/smartsheet/expanded-form/presentors/Discussion/AuditInfoExpressive.vueindex 9c5f0041a8..8c39121a8e 100644--- a/packages/nc-gui/components/smartsheet/expanded-form/presentors/Discussion/AuditInfoExpressive.vue+++ b/packages/nc-gui/components/smartsheet/expanded-form/presentors/Discussion/AuditInfoExpressive.vue@@ -72,9 +72,14 @@ function processOldDataFor(key: string) {if (meta.value?.[key]?.type === 'Attachment') {// Attachment cell value can be string so we have to parse it- return parseHelper(odata)?.filter(- (it: AttachmentType) => !parseHelper(ndata)?.some((t: AttachmentType) => t.title === it.title),- )++ if (!ncIsArray(parseHelper(odata))) return []++ return parseHelper(odata)?.filter((it: AttachmentType) => {+ if (!ncIsArray(parseHelper(ndata))) return true++ return !parseHelper(ndata)?.some((t: AttachmentType) => t.title === it.title)+ })}if (meta.value?.[key]?.type === 'MultiSelect') {return odata?.filter?.((it: string) => !ndata?.includes?.(it)) ?? odata