ソースを参照

Fix handling of update_display_data

Steven Silvester 7 年 前
コミット
d5d9eafb83
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/outputarea/src/widget.ts

+ 1 - 1
packages/outputarea/src/widget.ts

@@ -307,7 +307,7 @@ class OutputArea extends Widget {
       break;
     case 'update_display_data':
       output = msg.content as nbformat.IOutput;
-      output.output_type = msgType as nbformat.OutputType;
+      output.output_type = 'display_data';
       targets = this._displayIdMap.get(displayId);
       if (targets) {
         for (let index of targets) {