Skip to content

Commit

Permalink
Merge pull request #503 from cozy/feat/clickOnItem
Browse files Browse the repository at this point in the history
feat: No need to override anymore if it's the same app
  • Loading branch information
CPatchane authored Mar 29, 2019
2 parents 5c570ef + 9499466 commit 2431e81
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/Apps/AppItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ export class AppItem extends React.Component {
}
}

if (app.isCurrentApp) {
// disabled for current app
onClick = null
href = null
}

return (
<li
className={`coz-nav-apps-item${app.isCurrentApp ? ' --current' : ''}`}
Expand Down

0 comments on commit 2431e81

Please sign in to comment.