From 39c7754d5ff0898feb5fecb82aeda7f2324be4a4 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Mon, 10 Mar 2025 16:49:22 +0700 Subject: [PATCH] feat: fetch only active properties in assignTemp function --- src/components/dialog/DialogProperties.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dialog/DialogProperties.vue b/src/components/dialog/DialogProperties.vue index 782bf256..2b688331 100644 --- a/src/components/dialog/DialogProperties.vue +++ b/src/components/dialog/DialogProperties.vue @@ -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;