Confirm destructive collaboration actions
This commit is contained in:
@@ -572,6 +572,7 @@
|
||||
|
||||
async function endCollaboration() {
|
||||
if (!collaborationSession) return;
|
||||
if (!window.confirm('End the current Guest Star collaboration? Twitch will remove the active session.')) return;
|
||||
collaborationBusy = true;
|
||||
collaborationError = '';
|
||||
try {
|
||||
@@ -605,6 +606,7 @@
|
||||
|
||||
async function cancelCollaborationInvite(guestId: string) {
|
||||
if (!collaborationSession) return;
|
||||
if (!window.confirm(`Cancel the collaboration invite for ${guestId}?`)) return;
|
||||
collaborationBusy = true;
|
||||
collaborationError = '';
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user