fix: correct remaining class attribute syntax errors
Fixed another incorrect class attribute syntax in connection_indicator component that was causing Protocol.UndefinedError.
This commit is contained in:
parent
1905c6b41a
commit
533061c261
1 changed files with 4 additions and 4 deletions
|
|
@ -112,10 +112,10 @@ defmodule AprsmeWeb.MapLive.Components do
|
||||||
<div class="flex items-center space-x-2">
|
<div class="flex items-center space-x-2">
|
||||||
<div class={[
|
<div class={[
|
||||||
"h-3 w-3 rounded-full",
|
"h-3 w-3 rounded-full",
|
||||||
"bg-green-500": @connection_status == "connected",
|
@connection_status == "connected" && "bg-green-500",
|
||||||
"bg-yellow-500": @connection_status == "connecting",
|
@connection_status == "connecting" && "bg-yellow-500",
|
||||||
"bg-red-500": @connection_status == "disconnected",
|
@connection_status == "disconnected" && "bg-red-500",
|
||||||
"bg-gray-400": @connection_status == "pending"
|
@connection_status == "pending" && "bg-gray-400"
|
||||||
]}>
|
]}>
|
||||||
</div>
|
</div>
|
||||||
<span class="text-sm text-gray-700">
|
<span class="text-sm text-gray-700">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue