π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: comment count visibility issue in canvas view
Ramesh Manec622d81eab96
diff --git a/packages/nc-gui/composables/useInfiniteData.ts b/packages/nc-gui/composables/useInfiniteData.tsindex 88e4ad6634..1f40dedd40 100644--- a/packages/nc-gui/composables/useInfiniteData.ts+++ b/packages/nc-gui/composables/useInfiniteData.ts@@ -597,6 +597,9 @@ export function useInfiniteData(args: {const count = aggCommentCount?.find((c: Record<string, any>) => c.row_id === id)?.count || 0cachedRow.rowMeta.commentCount = +count})++ // Trigger re-render canvas to update the comment count+ eventBus.emit(SmartsheetStoreEvents.TRIGGER_RE_RENDER)} catch (e) {console.error('Failed to load aggregate comment count:', e)}