feat: fetch only active properties in assignTemp function
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
538cf2f10d
commit
39c7754d5f
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ function confirmDelete(items: unknown[], index: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function assignTemp() {
|
async function assignTemp() {
|
||||||
const res = await getPropertyList({ pageSize: 999 });
|
const res = await getPropertyList({ pageSize: 999, activeOnly: true });
|
||||||
const targetOptions = optionStore.globalOption?.propertiesField ?? [];
|
const targetOptions = optionStore.globalOption?.propertiesField ?? [];
|
||||||
|
|
||||||
if (!res) return;
|
if (!res) return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue