Confirm destructive collaboration actions
Client checks / checks (push) Canceled after 0s
Client dependency and security checks / audit (push) Canceled after 0s

This commit is contained in:
2026-10-25 06:15:38 +01:00
parent 3d29bd5544
commit b4bc860533
+2
View File
@@ -572,6 +572,7 @@
async function endCollaboration() { async function endCollaboration() {
if (!collaborationSession) return; if (!collaborationSession) return;
if (!window.confirm('End the current Guest Star collaboration? Twitch will remove the active session.')) return;
collaborationBusy = true; collaborationBusy = true;
collaborationError = ''; collaborationError = '';
try { try {
@@ -605,6 +606,7 @@
async function cancelCollaborationInvite(guestId: string) { async function cancelCollaborationInvite(guestId: string) {
if (!collaborationSession) return; if (!collaborationSession) return;
if (!window.confirm(`Cancel the collaboration invite for ${guestId}?`)) return;
collaborationBusy = true; collaborationBusy = true;
collaborationError = ''; collaborationError = '';
try { try {