Skip to content

Commit

Permalink
fix: App metrics for user and installation counts show dash (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishBarvaliya authored Feb 26, 2024
1 parent ff02625 commit 850d7b3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dashboard/Apps/AppsIndex.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ class AppsIndex extends React.Component {
}

componentWillMount() {
if (AppsManager.apps().length === 1) {
const [app] = AppsManager.apps();
this.props.navigate(`/apps/${app.slug}/browser`);
return;
}
document.body.addEventListener('keydown', this.focusField);
AppsManager.getAllAppsIndexStats().then(() => {
this.forceUpdate();
Expand Down

0 comments on commit 850d7b3

Please # to comment.