diff --git a/packages/frontend/src/features/ReportActions.tsx b/packages/frontend/src/features/ReportActions.tsx index 0cd4f3a..1b1ac2c 100644 --- a/packages/frontend/src/features/ReportActions.tsx +++ b/packages/frontend/src/features/ReportActions.tsx @@ -97,5 +97,5 @@ const ReportAction = ({ const useDeleteMutation = () => useMutation(async (id: string) => { - await db.updateTable("report").set({ disabled: 0 }).where("id", "=", id).execute(); + await db.updateTable("report").set({ disabled: 1 }).where("id", "=", id).execute(); });