diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index d148bc2..ed2663f 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -222,11 +222,13 @@ function CustomerDetail({ customerId }) { ) : ( <> - deploy(e.name, e.latest_version)} - disabled={deploying === e.name} - className="bg-blue-500 text-white px-3 py-1 rounded text-sm hover:bg-blue-600 disabled:opacity-50"> - {deploying === e.name ? '...' : 'עדכון'} - + {hasUpdate && ( + deploy(e.name, e.latest_version)} + disabled={deploying === e.name} + className="bg-amber-500 text-white px-3 py-1 rounded text-sm hover:bg-amber-600 disabled:opacity-50"> + {deploying === e.name ? '...' : 'עדכון'} + + )} remove(e.id)} className="bg-red-500 text-white px-3 py-1 rounded text-sm hover:bg-red-600"> הסרה