Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 03:06:21 +00:00
co-authored by renee-png
parent 366a40356f
commit 2d2ee28c34
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export function TaskDetailPanel({
useEffect(() => {
if (!open || !taskId) return;
const ch = supabase
.channel(`task-${taskId}`)
.channel(`task-${taskId}-${Math.random().toString(36).slice(2)}`)
.on("postgres_changes", { event: "*", schema: "public", table: "task_comments", filter: `task_id=eq.${taskId}` }, () => load())
.on("postgres_changes", { event: "*", schema: "public", table: "task_assignees", filter: `task_id=eq.${taskId}` }, () => load())
.on("postgres_changes", { event: "*", schema: "public", table: "tasks", filter: `id=eq.${taskId}` }, () => load())