Pārlūkot izejas kodu

Fix stream merging in output areas

Steven Silvester 8 gadi atpakaļ
vecāks
revīzija
6fa3054274
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/notebook/output-area/model.ts

+ 1 - 1
src/notebook/output-area/model.ts

@@ -124,7 +124,7 @@ class OutputAreaModel implements IDisposable {
       // This also replaces the metadata of the last item.
       let text = value.text as string;
       value.text = lastOutput.text as string + text;
-      this._list.set(index, output);
+      this._list.set(index, value);
       return index;
     } else {
       switch (value.output_type) {