mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 04:00:14 +01:00
[WEB-857] regression: image uploader error state #8471
This commit is contained in:
committed by
GitHub
parent
9141a9377f
commit
031baaa162
@@ -168,8 +168,7 @@ export function CustomImageUploader(props: CustomImageUploaderProps) {
|
||||
[uploadFile, editor, getPos]
|
||||
);
|
||||
|
||||
// const isErrorState = failedToLoadImage || hasDuplicationFailed;
|
||||
const isErrorState = true;
|
||||
const isErrorState = failedToLoadImage || hasDuplicationFailed;
|
||||
|
||||
const borderColor =
|
||||
selected && editor.isEditable && !isErrorState
|
||||
|
||||
Reference in New Issue
Block a user