From 571f36b03348e20d30db6707f7cf4bdc8c225d94 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Thu, 7 Mar 2019 10:48:52 +0000 Subject: [PATCH] mgr/dashboard: Fix dashboard compile error New version of lodash was generating a compile error. With this change npm will install an older version of lodash. Fixes: https://tracker.ceph.com/issues/38590 Fixes: https://tracker.ceph.com/issues/38602 Signed-off-by: Tiago Melo --- src/pybind/mgr/dashboard/frontend/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 886fe247c8b..9f0e148d236 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -22,13 +22,13 @@ "@angular/platform-browser-dynamic": "^5.0.0", "@angular/router": "^5.0.0", "@swimlane/ngx-datatable": "^11.1.7", - "@types/lodash": "^4.14.95", + "@types/lodash": "4.14.95", "awesome-bootstrap-checkbox": "0.3.7", "bootstrap": "^3.3.7", "chart.js": "^2.7.1", "core-js": "^2.4.1", "fork-awesome": "1.0.11", - "lodash": "^4.17.4", + "lodash": "4.17.4", "moment": "2.20.1", "ng2-charts": "^1.6.0", "ng2-toastr": "4.1.2", -- 2.47.3