mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Added Wifi signal strength to printer card
This commit is contained in:
@@ -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>
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -7,7 +7,7 @@
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
|
||||
<script type="module" crossorigin src="/assets/index-DeHI9Fkw.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BAbdSDeh.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BCXYYo2S.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user