Skip to content

Commit

Permalink
fix(mail): allow to directly empty junk folder
Browse files Browse the repository at this point in the history
Fixes #5224
  • Loading branch information
cgx committed Dec 3, 2021
1 parent 4ad2105 commit f9ed639
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UI/Templates/MailerUI/UIxMailMainFrame.wox
Expand Up @@ -238,6 +238,11 @@
<var:string label:value="Empty Trash"/>
</md-button>
</md-menu-item>
<md-menu-item ng-show="::($menuCtrl.folder.type == 'junk')">
<md-button type="button" ng-click="$menuCtrl.emptyJunkFolder()">
<var:string label:value="Empty Junk Folder"/>
</md-button>
</md-menu-item>
<md-menu-item>
<md-button type="button" ng-click="$menuCtrl.folder.exportFolder()">
<var:string label:value="Export"/>
Expand Down

0 comments on commit f9ed639

Please sign in to comment.