ソースを参照

Merge pull request #9754 from GordonSmith/HPCC-17292

HPCC-17292 WUQueryDetails Response Change

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 年 前
コミット
347cb55121
1 ファイル変更11 行追加0 行削除
  1. 11 0
      esp/src/eclwatch/GraphsWidget.js

+ 11 - 0
esp/src/eclwatch/GraphsWidget.js

@@ -292,6 +292,17 @@ define([
                             };
                             graphs.push(graph);
                         });
+                    } else if (lang.exists("WUGraphs.ECLGraph", context.query)) {
+                        arrayUtil.forEach(context.query.WUGraphs.ECLGraph, function (item, idx) {
+                            var graph = {
+                                Name: item.Name || "",
+                                Label: item.Label || "",
+                                Completed: item.Completed || "",
+                                Time: item.Time || 0,
+                                Type: item.Type || ""
+                            };
+                            graphs.push(graph);
+                        });
                     }
                     context.store.setData(graphs);
                     context.grid.refresh();