mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Show connected nodes counter (#2774)
This commit is contained in:
parent
c8e90073e9
commit
42908ccca6
|
@ -794,6 +794,9 @@ defmodule LivebookWeb.SessionLive.Render do
|
||||||
<div class="mt-8 flex flex-col gap-2">
|
<div class="mt-8 flex flex-col gap-2">
|
||||||
<span class="text-sm text-gray-500 font-semibold uppercase">
|
<span class="text-sm text-gray-500 font-semibold uppercase">
|
||||||
Connected nodes
|
Connected nodes
|
||||||
|
<%= if @runtime_connected_nodes != [] do %>
|
||||||
|
(<%= length(@runtime_connected_nodes) %>)
|
||||||
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
<%= if @runtime_connected_nodes == [] do %>
|
<%= if @runtime_connected_nodes == [] do %>
|
||||||
<div class="text-sm text-gray-800 flex flex-col">
|
<div class="text-sm text-gray-800 flex flex-col">
|
||||||
|
|
Loading…
Reference in a new issue