[ST] - fix: DB 표준화에 따른 소스 수정
This commit is contained in:
@@ -145,6 +145,9 @@ const SearchForm = (props: SearchFormProps = {}) => {
|
||||
const currentYear = new Date().getFullYear();
|
||||
const defaultYear = currentYear - 1;
|
||||
const isInput = Boolean(props.isInput);
|
||||
const isDetailInputId = props.tabKey
|
||||
? `${props.tabKey}-isDetail`
|
||||
: "isDetail";
|
||||
const sidoListKind = isInput ? "input" : "default";
|
||||
|
||||
const { data: sidoList } = useSWR<ApiResponse<SearchCondition>>(
|
||||
@@ -479,12 +482,12 @@ const SearchForm = (props: SearchFormProps = {}) => {
|
||||
<div className="flex items-center gap-2">
|
||||
<Label
|
||||
className="cursor-pointer text-label"
|
||||
htmlFor="isDetail"
|
||||
htmlFor={isDetailInputId}
|
||||
>
|
||||
세부 데이터 포함
|
||||
</Label>
|
||||
<Checkbox
|
||||
id="isDetail"
|
||||
id={isDetailInputId}
|
||||
checked={values.isDetail}
|
||||
onCheckedChange={(value) =>
|
||||
setValues({
|
||||
|
||||
Reference in New Issue
Block a user