From a47e1c0584464a32a8df2ff3bb810624bea04d05 Mon Sep 17 00:00:00 2001 From: Aashish Sharma Date: Mon, 30 Oct 2023 13:09:25 +0530 Subject: [PATCH] mgr/dashboard: Block Ui fails in angular with target es2022 The BlockUi element is failing in angular with target es2022..change it to es2020 Fixes: https://tracker.ceph.com/issues/63347 Signed-off-by: Aashish Sharma (cherry picked from commit 551281bdc2a049c58ff1d035014312d8eaa99920) --- src/pybind/mgr/dashboard/frontend/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/tsconfig.json b/src/pybind/mgr/dashboard/frontend/tsconfig.json index 0f454e30cd733..e0cf323fd54f4 100644 --- a/src/pybind/mgr/dashboard/frontend/tsconfig.json +++ b/src/pybind/mgr/dashboard/frontend/tsconfig.json @@ -17,7 +17,7 @@ "noImplicitReturns": true, "noImplicitAny": true, "suppressImplicitAnyIndexErrors": true, - "target": "ES2022", + "target": "ES2020", "module": "es2020", "baseUrl": "./", "resolveJsonModule": true, -- 2.39.5