From 8c53fd14940af3b1149aec60f2bac315a0eeafd2 Mon Sep 17 00:00:00 2001 From: Irmantas Kaukas Date: Mon, 16 Dec 2024 16:20:06 +0100 Subject: [PATCH] fix: save and replace external IIIF image (DEV-4227) --- .../src/lib/still-image/still-image.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vre/resource-editor/representations/src/lib/still-image/still-image.component.ts b/libs/vre/resource-editor/representations/src/lib/still-image/still-image.component.ts index c089fda1c7..dad0869ae7 100644 --- a/libs/vre/resource-editor/representations/src/lib/still-image/still-image.component.ts +++ b/libs/vre/resource-editor/representations/src/lib/still-image/still-image.component.ts @@ -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);