Skip to content

Commit b224cc8

Browse files
fix(ui): canvas image error placeholder never disappears
1 parent b75d08a commit b224cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invokeai/frontend/web/src/features/controlLayers/konva/CanvasStagingAreaModule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
123123
hideProgressIfSameSession();
124124
} else if (this.image.isLoading) {
125125
// noop - just wait for the image to load
126-
} else if (this.image.isError) {
127-
hideProgressIfSameSession();
128126
} else if (this.image.state.image.image_name !== image.image_name) {
129127
await this.image.update({ ...this.image.state, image }, true);
130128
hideProgressIfSameSession();
129+
} else if (this.image.isError) {
130+
hideProgressIfSameSession();
131131
}
132132
this.image.konva.group.visible(shouldShowStagedImage);
133133
} else {

0 commit comments

Comments
 (0)