Added Wifi signal strength to printer card

This commit is contained in:
maziggy
2025-12-07 11:33:32 +00:00
parent cef6cd593b
commit 577d9ff366
3 changed files with 89 additions and 89 deletions
+4 -4
View File
@@ -2,8 +2,8 @@ import { useState, useEffect } from 'react';
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
import {
Plus,
Wifi,
WifiOff,
Link,
Unlink,
Signal,
Thermometer,
Clock,
@@ -218,9 +218,9 @@ function PrinterCard({
}`}
>
{status?.connected ? (
<Wifi className="w-3 h-3" />
<Link className="w-3 h-3" />
) : (
<WifiOff className="w-3 h-3" />
<Unlink className="w-3 h-3" />
)}
{status?.connected ? 'Connected' : 'Offline'}
</span>