Skip to content

Commit

Permalink
fix: save and replace external IIIF image (DEV-4227)
Browse files Browse the repository at this point in the history
  • Loading branch information
irmastnt committed Dec 16, 2024
1 parent 2fc39f3 commit 8c53fd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class StillImageComponent implements OnChanges, AfterViewInit, OnDestroy
private _openExternal3iFImage(image: ReadStillImageExternalFileValue) {
const i3f = IIIFUrl.createUrl(image.externalUrl);
if (!i3f) {
throw new AppError('Error with IIIF URL');
throw new AppError("Can't open external IIIF URL");
}

this.osdService.viewer.open(i3f.infoJsonUrl);
Expand Down

0 comments on commit 8c53fd1

Please sign in to comment.