mirror of
https://github.com/wireadmin/wireadmin
synced 2025-06-26 18:28:06 +00:00
feat: show total net usage and connection mode in server page
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
export let showInHover: boolean = false;
|
||||
export let rootClass: string | undefined = undefined;
|
||||
export let value: string;
|
||||
export let value: string | number;
|
||||
let className: string | undefined = undefined;
|
||||
export { className as class };
|
||||
|
||||
const handleCopy = () => {
|
||||
navigator.clipboard.writeText(value);
|
||||
navigator.clipboard.writeText(value?.toString() || '');
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ export const badgeVariants = tv({
|
||||
destructive:
|
||||
'bg-destructive hover:bg-destructive/80 border-transparent text-destructive-foreground',
|
||||
outline: 'text-foreground',
|
||||
tor: 'bg-purple-700 hover:bg-purple-700/80 border-transparent text-white',
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
||||
Reference in New Issue
Block a user