]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Block Ui fails in angular with target es2022 54260/head
authorAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Mon, 30 Oct 2023 07:39:25 +0000 (13:09 +0530)
committerAashish Sharma <aasharma@li-e74156cc-2f67-11b2-a85c-e98659a63c5c.ibm.com>
Tue, 31 Oct 2023 05:28:41 +0000 (10:58 +0530)
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 <aasharma@redhat.com>
(cherry picked from commit 551281bdc2a049c58ff1d035014312d8eaa99920)

src/pybind/mgr/dashboard/frontend/tsconfig.json

index 0f454e30cd733501a7e8c21f55ff2c9f9e328a11..e0cf323fd54f46959784e129f822190faaaea795 100644 (file)
@@ -17,7 +17,7 @@
     "noImplicitReturns": true,
     "noImplicitAny": true,
     "suppressImplicitAnyIndexErrors": true,
-    "target": "ES2022",
+    "target": "ES2020",
     "module": "es2020",
     "baseUrl": "./",
     "resolveJsonModule": true,