mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Fix zap dialog behavior for logged-out users
This commit is contained in:
1 parent
4715641b9a
commit
0c211cd411
3 files changed
+70
-5
No files matched your search
@@ -1054,6 +1054,10 @@ export class VideoModal {
|
||||
}
|
||||
|
||||
async openZapDialog() {
|
||||
if (this.modalZapRequiresLogin) {
|
||||
return Promise.resolve(false);
|
||||
}
|
||||
|
||||
if (this.modalZapOpenPromise) {
|
||||
return this.modalZapOpenPromise;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user