mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: update show servers
This commit is contained in:
@@ -59,7 +59,7 @@ export const ShowBilling = () => {
|
|||||||
const safePercentage = Math.min(percentage, 100);
|
const safePercentage = Math.min(percentage, 100);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-4 w-full justify-center">
|
<div className="flex flex-col gap-4 w-full">
|
||||||
<Tabs
|
<Tabs
|
||||||
defaultValue="monthly"
|
defaultValue="monthly"
|
||||||
value={isAnnual ? "annual" : "monthly"}
|
value={isAnnual ? "annual" : "monthly"}
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ export const ShowServers = () => {
|
|||||||
variant={
|
variant={
|
||||||
server.serverStatus === "active"
|
server.serverStatus === "active"
|
||||||
? "default"
|
? "default"
|
||||||
: "secondary"
|
: "destructive"
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{server.serverStatus}
|
{server.serverStatus}
|
||||||
|
|||||||
Reference in New Issue
Block a user