mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 01:12:39 +00:00
Fix event details channel navigation
This commit is contained in:
1 parent
ae62b4ea59
commit
a52aed0a5d
1 file changed
+6
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user