fix(pop-cart): cart_type 빈 문자열 저장 버그 수정 ("pop" 복원)

- cartItemToDbRecord에서 cart_type: "" -> "pop"으로 복원
- loadFromDb 필터에 cart_type: "pop" 조건 추가하여 POP 데이터만 로드
- 리팩토링(9aaf0575) 중 누락된 값 복원
This commit is contained in:
SeongHyun Kim 2026-03-03 17:46:50 +09:00
parent 2e8300bbf5
commit 94a541fc9c
1 changed files with 2 additions and 1 deletions

View File

@ -109,7 +109,7 @@ function cartItemToDbRecord(
: item.row;
return {
cart_type: "",
cart_type: "pop",
screen_id: screenId,
source_table: item.sourceTable,
row_key: item.rowKey,
@ -162,6 +162,7 @@ export function useCartSync(
size: 500,
filters: {
screen_id: screenId,
cart_type: "pop",
status: "in_cart",
},
});