feat: api active only support for product

closes https://github.com/Frappet/jws-frontend/issues/146
This commit is contained in:
Methapon2001 2024-12-18 18:03:30 +07:00
parent 8f99c5274e
commit 11575f3bed
3 changed files with 3 additions and 0 deletions

View file

@ -665,6 +665,7 @@ async function getAllProduct(
pageSize: opts?.pageSize ?? 9999,
query: opts?.query,
productGroupId: groupId,
activeOnly: true,
});
if (ret) productList.value[groupId] = ret.result;
}