From: Aashish Sharma Date: Mon, 30 Oct 2023 07:39:25 +0000 (+0530) Subject: mgr/dashboard: Block Ui fails in angular with target es2022 X-Git-Tag: v18.2.1~54^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F54260%2Fhead;p=ceph.git 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) --- 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,