IGNITE-9572 Web console: Fixed build to work in Edge.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/caa7bd92 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/caa7bd92 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/caa7bd92 Branch: refs/heads/ignite-7251 Commit: caa7bd92b471f636ab1e1dc37334f7efdbb982fe Parents: f66467c Author: Ilya Borisov <klast...@gmail.com> Authored: Thu Sep 13 21:58:25 2018 +0700 Committer: Alexey Kuznetsov <akuznet...@apache.org> Committed: Thu Sep 13 21:58:25 2018 +0700 ---------------------------------------------------------------------- modules/web-console/frontend/.babelrc | 3 ++- .../page-queries/components/queries-notebook/controller.js | 2 +- modules/web-console/frontend/package.json | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/caa7bd92/modules/web-console/frontend/.babelrc ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/.babelrc b/modules/web-console/frontend/.babelrc index bc7244a..364c90c 100644 --- a/modules/web-console/frontend/.babelrc +++ b/modules/web-console/frontend/.babelrc @@ -9,6 +9,7 @@ "plugins": [ ["@babel/plugin-proposal-class-properties", { "loose" : true }], "@babel/plugin-proposal-object-rest-spread", - "@babel/plugin-syntax-dynamic-import" + "@babel/plugin-syntax-dynamic-import", + "@babel/plugin-transform-parameters" ] } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ignite/blob/caa7bd92/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js index e2cd114..6d37da9 100644 --- a/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js +++ b/modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.js @@ -1497,7 +1497,7 @@ export class NotebookCtrl { $scope.queryAvailable(paragraph) && _chooseNode(paragraph.cacheName, local) .then((nid) => { // If we are executing only selected part of query then Notebook shouldn't be saved. - if (!paragraph.partialQuery) + if (!paragraph.partialQuery) Notebook.save($scope.notebook).catch(Messages.showError); paragraph.localQueryMode = local; http://git-wip-us.apache.org/repos/asf/ignite/blob/caa7bd92/modules/web-console/frontend/package.json ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/package.json b/modules/web-console/frontend/package.json index 2b4fafa..938a48f 100644 --- a/modules/web-console/frontend/package.json +++ b/modules/web-console/frontend/package.json @@ -27,6 +27,7 @@ "win32" ], "dependencies": { + "@babel/plugin-transform-parameters": "7.0.0", "@uirouter/angularjs": "1.0.18", "@uirouter/core": "5.0.19", "@uirouter/rx": "0.4.1",