fix(pop-cart): cart_type 빈 문자열 저장 버그 수정 ("pop" 복원)
- cartItemToDbRecord에서 cart_type: "" -> "pop"으로 복원 - loadFromDb 필터에 cart_type: "pop" 조건 추가하여 POP 데이터만 로드 - 리팩토링(9aaf0575) 중 누락된 값 복원
This commit is contained in:
parent
2e8300bbf5
commit
94a541fc9c
|
|
@ -109,7 +109,7 @@ function cartItemToDbRecord(
|
||||||
: item.row;
|
: item.row;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
cart_type: "",
|
cart_type: "pop",
|
||||||
screen_id: screenId,
|
screen_id: screenId,
|
||||||
source_table: item.sourceTable,
|
source_table: item.sourceTable,
|
||||||
row_key: item.rowKey,
|
row_key: item.rowKey,
|
||||||
|
|
@ -162,6 +162,7 @@ export function useCartSync(
|
||||||
size: 500,
|
size: 500,
|
||||||
filters: {
|
filters: {
|
||||||
screen_id: screenId,
|
screen_id: screenId,
|
||||||
|
cart_type: "pop",
|
||||||
status: "in_cart",
|
status: "in_cart",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue