Fix event details channel navigation

This commit is contained in:
thePR0M3TH3AN committed 2026-01-14 20:58:01 -05:00
1 parent ae62b4ea59
commit a52aed0a5d
1 file changed
+6 -2
+6 -2
View File
@@ -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;
}