Show connected nodes counter (#2774)

This commit is contained in:
José Valim 2024-09-06 17:46:27 +02:00 committed by GitHub
parent c8e90073e9
commit 42908ccca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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">