Fix smart cell evaluation button in forked notebooks (#1185)

This commit is contained in:
Jonatan Kłosko 2022-05-13 15:22:52 +02:00 committed by GitHub
parent 36e48f861e
commit 355a450d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -612,6 +612,6 @@ defmodule LivebookWeb.SessionLive.CellComponent do
defp evaluated_label(_time_ms), do: nil
defp smart_cell_js_view_ref(%{type: :smart, js_view: %{ref: ref}}), do: ref
defp smart_cell_js_view_ref(%{type: :smart, status: :started, js_view: %{ref: ref}}), do: ref
defp smart_cell_js_view_ref(_cell_view), do: nil
end