@daeryun/dr_components 0.9.35 → 0.9.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,7 +91,7 @@ const SignContainer = ({ layoutClassName = `mt-[47px] py-[128px] max-lg:mt-[40px
91
91
  termCode: '',
92
92
  contents: ''
93
93
  },
94
- ...((_a = termList === null || termList === void 0 ? void 0 : termList.map(item => ({
94
+ ...((_a = termList === null || termList === void 0 ? void 0 : termList.filter(item => item.idx === 67 || item.idx === 69).map(item => ({
95
95
  title: `${item.terms_name} (필수)`,
96
96
  name: 'required',
97
97
  checked: false,
@@ -145,14 +145,16 @@ const SignContainer = ({
145
145
  termCode: '',
146
146
  contents: ''
147
147
  },
148
- ...(termList?.map(item => ({
149
- title: `${item.terms_name} (필수)`,
150
- name: 'required',
151
- checked: false,
152
- contents: item.contents || '',
153
- isContent: !!item.contents,
154
- termCode: item.terms_code || ''
155
- })) ?? [])
148
+ ...(termList
149
+ ?.filter(item => item.idx === 67 || item.idx === 69)
150
+ .map(item => ({
151
+ title: `${item.terms_name} (필수)`,
152
+ name: 'required',
153
+ checked: false,
154
+ contents: item.contents || '',
155
+ isContent: !!item.contents,
156
+ termCode: item.terms_code || ''
157
+ })) ?? [])
156
158
  ]);
157
159
  }
158
160
  }, [termList, termListStatus]);