feat(modules): soft delete with restore and active filter

This commit is contained in:
dev
2026-09-18 20:04:02 +03:00
parent d3dd922e32
commit d7d4cc1133
8 changed files with 57 additions and 15 deletions
+1
View File
@@ -151,6 +151,7 @@ async function fetchModules(q, limit) {
const p = new URLSearchParams();
if (q) p.set('search', q);
p.set('limit', String(limit));
p.set('active', '1');
try {
const res = await fetch(`${API}/api/modules?${p}`);
if (!res.ok) return [];