mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-12 16:04:39 +08:00
Fix smart cell source pruning
This commit is contained in:
parent
0df2fe4fd1
commit
238b20b925
2 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ defprotocol Livebook.Runtime do
|
|||
@type smart_cell_attrs :: map()
|
||||
|
||||
@typedoc """
|
||||
Marks an part of smart cell source.
|
||||
Marks a part of smart cell source.
|
||||
|
||||
Both the offset ans size are expressed in bytes.
|
||||
"""
|
||||
|
|
|
@ -1849,7 +1849,7 @@ defmodule LivebookWeb.SessionLive do
|
|||
defp after_operation(
|
||||
socket,
|
||||
_prev_socket,
|
||||
{:smart_cell_started, _client_id, _cell_id, _delta, _js_view, _editor}
|
||||
{:smart_cell_started, _client_id, _cell_id, _delta, _chunks, _js_view, _editor}
|
||||
) do
|
||||
prune_cell_sources(socket)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue