mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-12 01:37:40 +02:00
Update phone icon styling for customer order notifications
Adjusted button styling for customer order notification phone icons in `CustomerOrders.tsx` to conditionally apply `bg-green-100` class when `customerNotified` is true, and changed the PhoneCall icon className to inherit default color. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 95e8aab4-f39f-4b48-aa57-a759ec15ba3d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/95e8aab4-f39f-4b48-aa57-a759ec15ba3d/TckvSqR
This commit is contained in:
1 parent
3da49f68a2
commit
467c1507d0
2 files changed
+2
-7
No files matched your search
@@ -890,11 +890,10 @@ export default function CustomerOrders() {
|
||||
variant="outline"
|
||||
size="sm"
|
||||
onClick={() => handleNotificationToggle(order)}
|
||||
className={order.customerNotified ? "bg-green-600 hover:bg-green-700 text-white border-green-600" : "hover:bg-gray-50"}
|
||||
title={order.customerNotified ? "Client contacté ✓" : "Cliquer pour marquer comme contacté"}
|
||||
className={order.customerNotified ? "bg-green-100" : ""}
|
||||
>
|
||||
{order.customerNotified ? (
|
||||
<PhoneCall className="h-4 w-4 text-white" />
|
||||
<PhoneCall className="h-4 w-4" />
|
||||
) : (
|
||||
<Phone className="h-4 w-4" />
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user