mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 01:55:56 +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">
|
||||
<span class="text-sm text-gray-500 font-semibold uppercase">
|
||||
Connected nodes
|
||||
<%= if @runtime_connected_nodes != [] do %>
|
||||
(<%= length(@runtime_connected_nodes) %>)
|
||||
<% end %>
|
||||
</span>
|
||||
<%= if @runtime_connected_nodes == [] do %>
|
||||
<div class="text-sm text-gray-800 flex flex-col">
|
||||
|
|
Loading…
Reference in a new issue