π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(Type Error): w.slice is not a function
Ramesh Maneca59663bd214
diff --git a/packages/nc-gui/components/smartsheet/grid/canvas/cells/Attachment.ts b/packages/nc-gui/components/smartsheet/grid/canvas/cells/Attachment.tsindex 4f514f2243..829833c964 100644--- a/packages/nc-gui/components/smartsheet/grid/canvas/cells/Attachment.ts+++ b/packages/nc-gui/components/smartsheet/grid/canvas/cells/Attachment.ts@@ -112,6 +112,7 @@ export const AttachmentCellRenderer: CellRenderer = {setCursor,isUnderLookup,textAlign,+ column,},) => {let attachments: Attachment[] = []@@ -125,7 +126,10 @@ export const AttachmentCellRenderer: CellRenderer = {attachments = []}- if (readonly && !attachments.length) {+ if (readonly && (!ncIsArray(attachments) || !attachments.length)) {+ if (!ncIsArray(attachments)) {+ console.warn('Attachment cell value is not an array', column.title, attachments)+ }return}