瀏覽代碼

Fix stream merging in output areas

Steven Silvester 8 年之前
父節點
當前提交
6fa3054274
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.
       // This also replaces the metadata of the last item.
       let text = value.text as string;
       let text = value.text as string;
       value.text = lastOutput.text as string + text;
       value.text = lastOutput.text as string + text;
-      this._list.set(index, output);
+      this._list.set(index, value);
       return index;
       return index;
     } else {
     } else {
       switch (value.output_type) {
       switch (value.output_type) {