Skip to content

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchimeow committed Dec 25, 2024
2 parents e0583c8 + 101bea3 commit ac44606
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/appointment/AppointmentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ const AppointmentCard: React.VFC<AppointmentCardProps> = ({
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/MessageItemForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const MessageItemForm: React.VFC<MessageItemFormProps> = ({ title, description,
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/MessageReplyCreationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const MessageReplyCreationForm: React.VFC<MessageReplyCreationFormProps> = ({ on
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/MessageReplyItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const MessageReplyItem: React.VFC<{
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/issue/IssueCreationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const IssueCreationModal: React.VFC<IssueCreationModalProps> = ({ threadId, form
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/issue/IssueItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const IssueItem: React.VFC<IssueItemProps> = ({
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/issue/IssueReplyCreationBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const IssueReplyCreationBlock: React.VFC<IssueReplyCreationBlockProps> = ({ memb
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/issue/IssueReplyItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const IssueReplyItem: React.VFC<{
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const MerchandiseOrderContactModal: React.VFC<{ orderId: string }> = ({ orderId
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
placeholder={formatMessage(messages.fillMessageContent)}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/practice/PracticeUploadModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const PracticeUploadModal: React.VFC<{
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/practice/SuggestionCreationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const SuggestionCreationModal: React.VFC<SuggestionCreationModalProps> = ({ thre
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/ProfileBasicAdminCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const ProfileBasicAdminCard: React.VFC<ProfileBasicAdminCardProps> = ({ form, me
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
placeholder={formatMessage(profileMessages.form.message.introPlaceHolder)}
/>,
Expand Down
2 changes: 1 addition & 1 deletion src/components/profile/ProfileIntroBusinessCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const ProfileIntroBusinessCard: React.VFC<ProfileIntroBusinessCardProps> = ({ fo
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
placeholder={formatMessage(profileMessages.ProfileIntroBusinessCard.companyIntroPlaceholder)}
></StyledBraftEditor>,
Expand Down
2 changes: 1 addition & 1 deletion src/components/review/ReviewItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const ReviewItem: React.VFC<
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/review/ReviewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ const ReviewModal: React.VFC<{
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand All @@ -286,7 +286,7 @@ const ReviewModal: React.VFC<{
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/review/ReviewReplyItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const ReviewReplyItem: React.VFC<ReviewReplyItemProps & { onRefetch?: () => void
media={{
uploadFn: createUploadFn(appId, authToken),
accepts: { video: false, audio: false },
externals: { image: true, video: false, audio: false, embed: false },
externals: { image: true, video: false, audio: false, embed: true },
}}
/>
}
Expand Down

0 comments on commit ac44606

Please sign in to comment.