Skip to content

Commit

Permalink
Merge pull request #1872 from yosmoc/empty_trash_not_working_in_sideb…
Browse files Browse the repository at this point in the history
…ar_fold

Empty trash menu working in sidebar folded
  • Loading branch information
Rokt33r committed Apr 26, 2018
2 parents b191213 + 2ee9951 commit ea27a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/components/SideNavFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const SideNavFilter = ({
</button>

<button styleName={isTrashedActive ? 'menu-button-trash--active' : 'menu-button'}
onClick={handleTrashedButtonClick}
onClick={handleTrashedButtonClick} onContextMenu={handleFilterButtonContextMenu}
>
<div styleName='iconWrap'>
<img src={isTrashedActive
Expand All @@ -60,7 +60,7 @@ const SideNavFilter = ({
}
/>
</div>
<span onContextMenu={handleFilterButtonContextMenu} styleName='menu-button-label'>{i18n.__('Trash')}</span>
<span styleName='menu-button-label'>{i18n.__('Trash')}</span>
<span styleName='counters'>{counterDelNote}</span>
</button>

Expand Down

0 comments on commit ea27a3b

Please sign in to comment.