mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-26 13:48:46 +00:00
refactor: update badge server
This commit is contained in:
+4
-2
@@ -110,9 +110,11 @@ const Service = (
|
||||
<div className="flex flex-row h-fit w-fit gap-2">
|
||||
<Badge
|
||||
variant={
|
||||
data?.server?.serverStatus === "active"
|
||||
!data?.serverId
|
||||
? "default"
|
||||
: "destructive"
|
||||
: data?.server?.serverStatus === "active"
|
||||
? "default"
|
||||
: "destructive"
|
||||
}
|
||||
>
|
||||
{data?.server?.name || "Dokploy Server"}
|
||||
|
||||
Reference in New Issue
Block a user