use app.pb.logs.truncate()

This commit is contained in:
Gani Georgiev committed 2026-08-19 18:12:35 +03:00
1 parent c2cbd9707f
commit 252358e036
11 files changed
+116 -99

No files matched your search

+1 -2
View File
@@ -93,8 +93,7 @@ function logsSettingsModal(modalSettings) {
data.isDeleting = true;
try {
// @todo replace with SDK method
await app.pb.send("/api/logs", { method: "DELETE" });
await app.pb.logs.truncate();
modalSettings.ondelete?.();