mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 11:35:54 +08:00
Make output ids unique across evaluations (#454)
This commit is contained in:
parent
ecd78041d9
commit
31991a12f3
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ defmodule LivebookWeb.SessionLive.CellComponent do
|
||||||
<div class="flex flex-col rounded-lg border border-gray-200 divide-y divide-gray-200">
|
<div class="flex flex-col rounded-lg border border-gray-200 divide-y divide-gray-200">
|
||||||
<%= for {output, index} <- @cell_view.outputs |> Enum.reverse() |> Enum.with_index(), output != :ignored do %>
|
<%= for {output, index} <- @cell_view.outputs |> Enum.reverse() |> Enum.with_index(), output != :ignored do %>
|
||||||
<div class="p-4 max-w-full overflow-y-auto tiny-scrollbar">
|
<div class="p-4 max-w-full overflow-y-auto tiny-scrollbar">
|
||||||
<%= render_output(output, %{id: "cell-#{@cell_view.id}-output#{index}", socket: @socket}) %>
|
<%= render_output(output, %{id: "cell-#{@cell_view.id}-evaluation#{@cell_view.number_of_evaluations}-output#{index}", socket: @socket}) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue