feat(modules): soft delete with restore and active filter
This commit is contained in:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user