mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-06 15:03:26 +00:00
refactor(repository): use server icon in repository host count display
This commit is contained in:
@@ -16,7 +16,6 @@ import {
|
|||||||
Shield,
|
Shield,
|
||||||
ShieldCheck,
|
ShieldCheck,
|
||||||
Unlock,
|
Unlock,
|
||||||
Users,
|
|
||||||
X,
|
X,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import { useMemo, useState } from "react";
|
import { useMemo, useState } from "react";
|
||||||
@@ -513,8 +512,8 @@ const Repositories = () => {
|
|||||||
case "hostCount":
|
case "hostCount":
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center justify-center gap-1 text-sm text-secondary-900 dark:text-white">
|
<div className="flex items-center justify-center gap-1 text-sm text-secondary-900 dark:text-white">
|
||||||
<Users className="h-4 w-4" />
|
<Server className="h-4 w-4" />
|
||||||
<span>{repo.host_count}</span>
|
<span>{repo.hostCount}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
case "actions":
|
case "actions":
|
||||||
|
|||||||
Reference in New Issue
Block a user