From af17bc9ca7a0fb23c23a2cc6c55069a2f91c4acc Mon Sep 17 00:00:00 2001 From: Edward Moyse Date: Fri, 8 Nov 2024 15:48:13 +0100 Subject: [PATCH] Protection for missing configuration etc --- .../io-options/io-options-dialog/io-options-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/phoenix-ng/projects/phoenix-ui-components/lib/components/ui-menu/io-options/io-options-dialog/io-options-dialog.component.ts b/packages/phoenix-ng/projects/phoenix-ui-components/lib/components/ui-menu/io-options/io-options-dialog/io-options-dialog.component.ts index da43ffe1..97548dac 100644 --- a/packages/phoenix-ng/projects/phoenix-ui-components/lib/components/ui-menu/io-options/io-options-dialog/io-options-dialog.component.ts +++ b/packages/phoenix-ng/projects/phoenix-ui-components/lib/components/ui-menu/io-options/io-options-dialog/io-options-dialog.component.ts @@ -131,7 +131,7 @@ export class IOOptionsDialogComponent implements OnInit { private getJiveXMLLoader(): JiveXMLLoader { if ( - this.eventDisplay.configuration.eventDataLoader instanceof JiveXMLLoader + this.eventDisplay?.configuration?.eventDataLoader instanceof JiveXMLLoader ) { return this.eventDisplay.configuration.eventDataLoader as JiveXMLLoader; } else {