diff --git a/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformPivotForm.vue b/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformPivotForm.vue index c418acc86d..e498a306f1 100644 --- a/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformPivotForm.vue +++ b/apps/web/src/common/modules/widgets/_components/WidgetFormDataTableCardTransformPivotForm.vue @@ -186,12 +186,12 @@ const fetchAndExtractDynamicField = async () => { if (!state.proxyDataTableInfo.dataTableId || !state.proxyFormData.fields?.column) return; const _isPrivate = state.proxyDataTableInfo.dataTableId.startsWith('private'); const _fetcher = _isPrivate - ? SpaceConnector.clientV2.dashboard.dataTable.load>> - : SpaceConnector.clientV2.dashboard.dataTable.load>>; + ? SpaceConnector.clientV2.dashboard.privateDataTable.load>> + : SpaceConnector.clientV2.dashboard.publicDataTable.load>>; try { state.dynamicFieldLoading = true; const res = await _fetcher({ - widget_id: state.proxyDataTableInfo.dataTableId, + data_table_id: state.proxyDataTableInfo.dataTableId, granularity: GRANULARITY.YEARLY, }); const dynamicFields = getUniqueValues(res.results || [], state.proxyFormData.fields.column);