π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: unmount data listener
DarkPhoenix2704157201ae90d6
diff --git a/packages/nc-gui/composables/useCalendarViewStore.ts b/packages/nc-gui/composables/useCalendarViewStore.tsindex dd899e345c..31c8c47782 100644--- a/packages/nc-gui/composables/useCalendarViewStore.ts+++ b/packages/nc-gui/composables/useCalendarViewStore.ts@@ -1257,7 +1257,9 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState()onBeforeUnmount(() => {- $ncSocket?.offMessage?.(activeDataListener.value)+ if (activeDataListener.value) {+ $ncSocket?.offMessage?.(activeDataListener.value)+ }})return {