You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Ensure you have **Query Collection** or **Document from Reference** added on a widget with **Single Time Query** disabled.
265
-
2. Now select the widget, head over to **Actions**, and click **+ Add Action**.
266
-
3. Select the **On Data Change** tab. That means actions added under this will be called whenever the data changes.
267
-
4. Now, you can
268
-
[add any Action](../../../resources/control-flow/functions/action-flow-editor.md#adding-an-action-example)
269
-
here.
264
+
1. Ensure you have added a **Query Collection** or **Document from Reference** on a widget with **Single Time Query** disabled.
265
+
2. Now, on the widget with **Query Collection** or **Document from Reference**, open the **Action Flow Editor** and set **On Data Change** as the [Action Trigger](../../../resources/control-flow/functions/action-triggers.md). This ensures that any actions you add will be triggered whenever the data is updated, added, or deleted.
266
+
3. You can now [add any action](../../../resources/control-flow/functions/action-flow-editor.md#adding-an-action-example) you want to perform, such as showing a notification, refreshing the UI, or fetching related data.
270
267
271
268
:::info
272
-
* Actions will be triggered whenever the data is added, updated, or deleted.
273
-
* If you are adding this on ListView, ensure you disable the infinite scroll.
269
+
If you are using this trigger on a ListView, make sure to **disable** the **Infinite Scroll**.
Copy file name to clipboardExpand all lines: docs/ff-integrations/database/supabase/database-actions.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,9 @@ To respond to data changes in a Supabase table:
214
214
2. On the widget with the **Supabase Query**, open the **Action Flow Editor** and set **On Data Change** as the [Action Trigger](../../../resources/control-flow/functions/action-triggers.md). This ensures that any actions you add will be triggered whenever the data is updated, added, or deleted.
215
215
3. You can now [add any action](../../../resources/control-flow/functions/action-flow-editor.md#adding-an-action-example) you want to perform, such as showing a notification, refreshing the UI, or fetching related data.
216
216
217
+
:::info
218
+
If you are using this trigger on a ListView, make sure to **disable** the **Infinite Scroll**.
0 commit comments