fix: search for select should not include disabled product

fixes #153
This commit is contained in:
Methapon2001 2024-12-19 10:07:21 +07:00
parent f573c7fc1d
commit 40e69b48a8

View file

@ -523,6 +523,7 @@ async function searchProduct(isAdd: boolean = true) {
query: inputSearchWorkProduct.value,
productGroupId: currentIdGroup.value,
shared: true,
activeOnly: isAdd ? true : undefined,
});
if (res) {