Skip to content

Commit

Permalink
Merge pull request #134 from back4app/enable-admin-default
Browse files Browse the repository at this point in the history
refactor: Enable admin app page
  • Loading branch information
davimacedo authored Feb 21, 2019
2 parents 641a55d + 00f8075 commit a64f05a
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/dashboard/DashboardView.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,15 @@ export default class DashboardView extends React.Component {
});
}

if (showAdminPage) {
appSidebarSections.push({
name: 'Admin App',
icon: 'admin-app',
link: '/admin',
badgeParams: {
label: 'new',
color: 'green'
}
})
}
appSidebarSections.push({
name: 'Admin App',
icon: 'admin-app',
link: '/admin',
badgeParams: {
label: 'new',
color: 'green'
}
})

if (pushSubsections.length > 0) {
appSidebarSections.push({
Expand Down

0 comments on commit a64f05a

Please sign in to comment.