mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-19 21:18:25 +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
@@ -15,10 +15,6 @@ run = ["npm", "run", "start"]
|
|||||||
localPort = 5000
|
localPort = 5000
|
||||||
externalPort = 80
|
externalPort = 80
|
||||||
|
|
||||||
[[ports]]
|
|
||||||
localPort = 35077
|
|
||||||
externalPort = 3003
|
|
||||||
|
|
||||||
[[ports]]
|
[[ports]]
|
||||||
localPort = 38451
|
localPort = 38451
|
||||||
externalPort = 3002
|
externalPort = 3002
|
||||||
|
|||||||
@@ -890,11 +890,10 @@ export default function CustomerOrders() {
|
|||||||
variant="outline"
|
variant="outline"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => handleNotificationToggle(order)}
|
onClick={() => handleNotificationToggle(order)}
|
||||||
className={order.customerNotified ? "bg-green-600 hover:bg-green-700 text-white border-green-600" : "hover:bg-gray-50"}
|
className={order.customerNotified ? "bg-green-100" : ""}
|
||||||
title={order.customerNotified ? "Client contacté ✓" : "Cliquer pour marquer comme contacté"}
|
|
||||||
>
|
>
|
||||||
{order.customerNotified ? (
|
{order.customerNotified ? (
|
||||||
<PhoneCall className="h-4 w-4 text-white" />
|
<PhoneCall className="h-4 w-4" />
|
||||||
) : (
|
) : (
|
||||||
<Phone className="h-4 w-4" />
|
<Phone className="h-4 w-4" />
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user