feat: fetch only active properties in assignTemp function
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s

This commit is contained in:
puriphatt 2025-03-10 16:49:22 +07:00
parent 538cf2f10d
commit 39c7754d5f

View file

@ -271,7 +271,7 @@ function confirmDelete(items: unknown[], index: number) {
}
async function assignTemp() {
const res = await getPropertyList({ pageSize: 999 });
const res = await getPropertyList({ pageSize: 999, activeOnly: true });
const targetOptions = optionStore.globalOption?.propertiesField ?? [];
if (!res) return;