Skip to content

Commit

Permalink
Add .webp as acceoted thumbnail filetype (#3044)
Browse files Browse the repository at this point in the history
  • Loading branch information
keikari authored Jan 23, 2024
1 parent 394bd14 commit d5c9bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/component/selectThumbnail/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function SelectThumbnail(props: Props) {
const thumbnail = publishForm ? props.thumbnail : thumbnailParam;
const thumbnailError = publishForm ? props.thumbnailError : props.thumbnailParamError;

const accept = '.png, .jpg, .jpeg, .gif';
const accept = '.png, .jpg, .jpeg, .gif, .webp';
const manualInput = status === THUMBNAIL_STATUSES.MANUAL;
const thumbUploaded = status === THUMBNAIL_STATUSES.COMPLETE && thumbnail;
const isUrlInput = thumbnail !== ThumbnailMissingImage && thumbnail !== ThumbnailBrokenImage;
Expand Down

0 comments on commit d5c9bb7

Please sign in to comment.