fix : not allow to delete message while ticket closed

This commit is contained in:
2026-10-02 21:29:12 +07:00 Unverified
parent f5b432a496
commit ddd36ba4a6
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -869,7 +869,7 @@ export function CommissionTicketChat({
<ReplyIcon />
</Button>
)}
{mine && (
{mine && status === "open" && (
<AlertDialog
open={deleteFor === message.id}
onOpenChange={(open) =>