File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"homepage" : " /dashboard" ,
6
6
"dependencies" : {
7
- "@devtron-labs/devtron-fe-common-lib" : " 0.0.51-beta-3" ,
7
+ "@devtron-labs/devtron-fe-common-lib" : " 0.0.51-beta-3-1 " ,
8
8
"@rjsf/core" : " ^5.13.3" ,
9
9
"@rjsf/utils" : " ^5.13.3" ,
10
10
"@rjsf/validator-ajv8" : " ^5.13.3" ,
Original file line number Diff line number Diff line change @@ -245,26 +245,22 @@ export default function App() {
245
245
) : (
246
246
< ErrorBoundary >
247
247
< BreadcrumbStore >
248
- { isDirectApprovalNotification ? (
249
- < Switch >
250
- { GenericDirectApprovalModal && (
251
- < Route exact path = { `/${ approvalType ?. toLocaleLowerCase ( ) } /approve` } >
252
- < GenericDirectApprovalModal
253
- approvalType = { approvalType }
254
- approvalToken = { approvalToken }
255
- />
256
- </ Route >
257
- ) }
258
- </ Switch >
259
- ) : (
260
248
< Switch >
249
+ { isDirectApprovalNotification && GenericDirectApprovalModal && (
250
+ < Route exact path = { `/${ approvalType ?. toLocaleLowerCase ( ) } /approve` } >
251
+ < GenericDirectApprovalModal
252
+ approvalType = { approvalType }
253
+ approvalToken = { approvalToken }
254
+ />
255
+ </ Route >
256
+ ) }
261
257
{ ! window . _env_ . K8S_CLIENT && < Route path = { `/login` } component = { Login } /> }
262
258
< Route path = "/" render = { ( ) => < NavigationRoutes /> } />
263
259
< Redirect
264
260
to = { window . _env_ . K8S_CLIENT ? '/' : `${ URLS . LOGIN_SSO } ${ location . search } ` }
265
261
/>
266
262
</ Switch >
267
- ) }
263
+ { /* )} */ }
268
264
< div id = "full-screen-modal" > </ div >
269
265
< div id = "visible-modal" > </ div >
270
266
< div id = "visible-modal-2" > </ div >
You can’t perform that action at this time.
0 commit comments