From a52aed0a5dc56c3045ca88f6fc544834a6b2675f Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:58:01 -0500 Subject: [PATCH] Fix event details channel navigation --- js/ui/components/EventDetailsModal.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/ui/components/EventDetailsModal.js b/js/ui/components/EventDetailsModal.js index 0515ebe4..614898eb 100644 --- a/js/ui/components/EventDetailsModal.js +++ b/js/ui/components/EventDetailsModal.js @@ -198,9 +198,13 @@ export class EventDetailsModal { break; } case "open-channel": { - if (this.currentVideo.pubkey) { + const pubkey = + this.currentVideo && typeof this.currentVideo.pubkey === "string" + ? this.currentVideo.pubkey + : ""; + if (pubkey) { this.close(); - this.callbacks.openCreatorChannel(this.currentVideo.pubkey); + this.callbacks.openCreatorChannel(pubkey); } break; }