From 82577828f80662e2bda700cbb8d6506e61aafde9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Wed, 10 Aug 2022 12:38:22 +0200 Subject: [PATCH] Correctly update frames nested in grid --- lib/livebook/notebook.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/livebook/notebook.ex b/lib/livebook/notebook.ex index 3e0c1997d..2df4afad0 100644 --- a/lib/livebook/notebook.ex +++ b/lib/livebook/notebook.ex @@ -642,9 +642,9 @@ defmodule Livebook.Notebook do output = {idx, {:frame, apply_frame_update(outputs, new_outputs, type), info}} {output, counter} - {idx, {:frame, outputs, info}}, counter -> + {idx, {type, outputs, info}}, counter when type in [:frame, :tabs, :grid] -> {outputs, counter} = update_frames(outputs, counter, frame) - output = {idx, {:frame, outputs, info}} + output = {idx, {type, outputs, info}} {output, counter} output, counter ->