mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
remove type badge from light controls
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-D5R4QPMU.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D8Pr9nif.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BTAtpc9C.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -37,7 +37,7 @@ function EntityRow({ entity, connected, onToggle }) {
|
||||
<div className="min-w-0">
|
||||
<div className="flex items-center gap-1 text-sm">
|
||||
<span className="truncate font-semibold text-white">{entity.name || entity.id}</span>
|
||||
<StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} />
|
||||
{/* <StatusBadge label={entity.type === 'light' ? 'Light' : 'Switch'} /> */}
|
||||
</div>
|
||||
<div className="flex items-center gap-1 text-xs text-slate-400">
|
||||
<StatusBadge label={statusLabel} tone={statusTone} />
|
||||
|
||||
Reference in New Issue
Block a user