Reverted to commit 026a4e9362

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 20:10:02 +00:00
parent 6f1544309e
commit 9319aadfed
8 changed files with 13 additions and 706 deletions

View File

@@ -8,7 +8,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@
interface EscalationDialogProps {
open: boolean;
onOpenChange: (open: boolean) => void;
onEscalate: (reason: string, additionalNotes?: string) => void;
onEscalate: (reason: string) => void;
}
const escalationReasons = [
@@ -31,9 +31,9 @@ export function EscalationDialog({
const handleEscalate = () => {
const reason = selectedReason === 'Other'
? additionalNotes
: selectedReason;
: `${selectedReason}${additionalNotes ? ': ' + additionalNotes : ''}`;
onEscalate(reason, selectedReason !== 'Other' ? additionalNotes : undefined);
onEscalate(reason);
onOpenChange(false);
// Reset form