fix: reopen booking returns to "Связались" instead of "Новая"
Admin already contacted the person, so reopened bookings skip "Новая" state. Renamed button from "Сбросить" to "Вернуть". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -213,10 +213,10 @@ function GroupBookingsTab() {
|
|||||||
)}
|
)}
|
||||||
{(b.status === "confirmed" || b.status === "declined") && (
|
{(b.status === "confirmed" || b.status === "declined") && (
|
||||||
<button
|
<button
|
||||||
onClick={() => handleStatus(b.id, "new")}
|
onClick={() => handleStatus(b.id, "contacted")}
|
||||||
className="inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[10px] font-medium bg-neutral-800/50 text-neutral-500 border border-transparent hover:border-white/10 hover:text-neutral-300 transition-all"
|
className="inline-flex items-center gap-1 rounded-full px-2.5 py-1 text-[10px] font-medium bg-neutral-800/50 text-neutral-500 border border-transparent hover:border-white/10 hover:text-neutral-300 transition-all"
|
||||||
>
|
>
|
||||||
Сбросить
|
Вернуть
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user