[WEB-857] regression: image uploader error state #8471
This commit is contained in:
parent
9141a9377f
commit
031baaa162
1 changed files with 1 additions and 2 deletions
|
|
@ -168,8 +168,7 @@ export function CustomImageUploader(props: CustomImageUploaderProps) {
|
||||||
[uploadFile, editor, getPos]
|
[uploadFile, editor, getPos]
|
||||||
);
|
);
|
||||||
|
|
||||||
// const isErrorState = failedToLoadImage || hasDuplicationFailed;
|
const isErrorState = failedToLoadImage || hasDuplicationFailed;
|
||||||
const isErrorState = true;
|
|
||||||
|
|
||||||
const borderColor =
|
const borderColor =
|
||||||
selected && editor.isEditable && !isErrorState
|
selected && editor.isEditable && !isErrorState
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue