Merge pull request #12038 from nocodb/nc-fix/attachment-without-id

show attachment without id
This commit is contained in:
Fendy H
2025-08-05 17:38:27 +07:00
committed by GitHub

View File

@@ -5584,7 +5584,7 @@ class BaseModelSqlv2 implements IBaseModelSqlV2 {
if (d[col.id]?.length) {
d[col.id] = d[col.id].filter(
(attr) => attr.id && !attr.id?.startsWith('temp_'),
(attr) => !attr.id?.startsWith('temp_'),
);
for (let i = 0; i < d[col.id].length; i++) {
if (typeof d[col.id][i] === 'string') {