| commit | 3304672099846c2323de7bdb26d8df9e14b5eaff | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Fri May 16 14:49:55 2025 +0000 |
| committer | gio <gio@v1.dodo.cloud> | Fri May 16 14:50:01 2025 +0000 |
| tree | a4f4aa86214615f42215e3e3154e00d5e3c8e95e | |
| parent | 3ec9424fa7f67122f10540878b210a00b63e1ef7 [diff] [blame] |
Canvas: Get ready for trial Change-Id: I16088fa041dd0fb35ac801ddbbedf3c1c6e8563d
diff --git a/apps/canvas/front/src/components/actions.tsx b/apps/canvas/front/src/components/actions.tsx index c7481c1..b8771b3 100644 --- a/apps/canvas/front/src/components/actions.tsx +++ b/apps/canvas/front/src/components/actions.tsx
@@ -164,6 +164,9 @@ if (projectId == null) { return; } + if (!confirm("Are you sure you want to delete this project? This action cannot be undone.")) { + return; + } const resp = await fetch(`/api/project/${projectId}`, { method: "DELETE", });