From 62fdac32a43e9d3b6fca37d78d9fbe1d9582aacf Mon Sep 17 00:00:00 2001 From: Ashish Baravaliya Date: Sun, 25 Feb 2024 19:04:39 -0500 Subject: [PATCH] fix: removed the redirection code for single app --- src/dashboard/Apps/AppsIndex.react.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/dashboard/Apps/AppsIndex.react.js b/src/dashboard/Apps/AppsIndex.react.js index 41515ee9f4..054f1190eb 100644 --- a/src/dashboard/Apps/AppsIndex.react.js +++ b/src/dashboard/Apps/AppsIndex.react.js @@ -119,11 +119,6 @@ class AppsIndex extends React.Component { this.forceUpdate(); }); document.body.addEventListener('keydown', this.focusField); - if (AppsManager.apps().length === 1) { - const [app] = AppsManager.apps(); - this.props.navigate(`/apps/${app.slug}/browser`); - return; - } } componentWillUnmount() {