Skip to content

Commit

Permalink
fix(ui): canvas image error placeholder never disappears
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Feb 11, 2025
1 parent b75d08a commit b224cc8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
hideProgressIfSameSession();
} else if (this.image.isLoading) {
// noop - just wait for the image to load
} else if (this.image.isError) {
hideProgressIfSameSession();
} else if (this.image.state.image.image_name !== image.image_name) {
await this.image.update({ ...this.image.state, image }, true);
hideProgressIfSameSession();
} else if (this.image.isError) {
hideProgressIfSameSession();
}
this.image.konva.group.visible(shouldShowStagedImage);
} else {
Expand Down

0 comments on commit b224cc8

Please sign in to comment.