Преглед изворни кода

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) {