Merge branch 'main' of http://39.117.244.52:3000/kjs/ERP-node into feature/v2-unified-renewal
This commit is contained in:
@@ -235,7 +235,8 @@ const SelectBasicComponent: React.FC<SelectBasicComponentProps> = ({
|
||||
setIsLoadingCategories(true);
|
||||
|
||||
import("@/lib/api/tableCategoryValue").then(({ getCategoryValues }) => {
|
||||
getCategoryValues(component.tableName!, component.columnName!)
|
||||
// 🆕 menuObjid를 4번째 파라미터로 전달 (카테고리 스코프 적용)
|
||||
getCategoryValues(component.tableName!, component.columnName!, false, menuObjid)
|
||||
.then((response) => {
|
||||
if (response.success && "data" in response && response.data) {
|
||||
const activeValues = response.data.filter((v: any) => v.isActive !== false);
|
||||
|
||||
Reference in New Issue
Block a user