π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: y.some is not a function
Ramesh Mane6e113296b5b8
diff --git a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vueindex a7a476488b..113206d574 100644--- a/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue+++ b/packages/nc-gui/components/smartsheet/expanded-form/Sidebar/AuditMiniItem.vue@@ -96,7 +96,7 @@ function processNewDataFor(key: string) {const ndata = newData.value[key]if (meta.value?.[key]?.type === 'Attachment') {- return ndata?.filter((it: AttachmentType) => !odata?.some((t: AttachmentType) => t.title === it.title))+ return ndata?.filter((it: AttachmentType) => ncIsArray(odata) && !odata?.some((t: AttachmentType) => t.title === it.title))}if (meta.value?.[key]?.type === 'MultiSelect') {return ndata?.filter?.((it: string) => !odata?.includes?.(it)) ?? ndatadiff --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 6e24911b95..99e2a052a7 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@@ -93,7 +93,7 @@ function processNewDataFor(key: string) {const ndata = newData.value[key]if (meta.value?.[key]?.type === 'Attachment') {- return ndata?.filter((it: AttachmentType) => !odata?.some((t: AttachmentType) => t.title === it.title))+ return ndata?.filter((it: AttachmentType) => ncIsArray(odata) && !odata?.some((t: AttachmentType) => t.title === it.title))}if (meta.value?.[key]?.type === 'MultiSelect') {return ndata?.filter?.((it: string) => !odata?.includes?.(it)) ?? ndata