Skip to content

Commit 5eba64e

Browse files
committed
fix: 세션 발표자에서 파일 및 유저 검색이 되지 않던 문제 수정
1 parent b21761a commit 5eba64e

File tree

1 file changed

+2
-3
lines changed
  • apps/pyconkr-admin/src/components/pages/presentation

1 file changed

+2
-3
lines changed

apps/pyconkr-admin/src/components/pages/presentation/editor.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ const PresentationSpeakerForm: React.FC<PresentationSpeakerFormPropType> = ({ di
9696
label: item.title,
9797
}));
9898
const currentSelectedImage = imageOptions.find((u) => u.value === speaker.image?.toString());
99-
console.log(userOptions, currentSelectedUser, speaker);
10099

101100
const bioField = formState.tab === "ko" ? "biography_ko" : "biography_en";
102101
const onSpeakerBioChange = (value?: string) => onChange({ ...speaker, [bioField]: value || "" });
@@ -116,15 +115,15 @@ const PresentationSpeakerForm: React.FC<PresentationSpeakerFormPropType> = ({ di
116115
defaultValue={currentSelectedUser}
117116
value={currentSelectedUser}
118117
onChange={onSpeakerChange("user")}
119-
inputValue={currentSelectedUser?.label || ""}
118+
// inputValue={currentSelectedUser?.label || ""}
120119
options={userOptions}
121120
renderInput={(params) => <TextField {...params} label="발표자" />}
122121
/>
123122
<Autocomplete
124123
fullWidth
125124
defaultValue={currentSelectedImage}
126125
value={currentSelectedImage}
127-
inputValue={currentSelectedImage?.label || ""}
126+
// inputValue={currentSelectedImage?.label || ""}
128127
options={imageOptions}
129128
renderInput={(params) => <TextField {...params} label="발표자 이미지" />}
130129
onChange={onSpeakerChange("image")}

0 commit comments

Comments
 (0)