Skip to content

Commit

Permalink
Fix menu items of actions button
Browse files Browse the repository at this point in the history
  • Loading branch information
jigsawye committed May 23, 2016
1 parent 9d9f9bb commit 14d0269
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/components/layout/action-navbar/action-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,22 @@
</md-button>
</md-menu-item>

<md-menu-item ng-if="actionNav.isFile()">
<md-menu-item>
<md-button
aria-label="Upload"
ng-click="actionNav.upload()"
aria-label="Create"
ng-click="actionNav.create()"
>
<span translate>Upload</span>
<span ng-hide="actionNav.isFile()">Create Bucket</span>
<span ng-show="actionNav.isFile()">Upload</span>
</md-button>
</md-menu-item>

<md-menu-item>
<md-menu-item ng-if="actionNav.isFile()">
<md-button
aria-label="Create"
ng-click="actionNav.create($event)"
aria-label="Create Folder"
ng-click="actionNav.createFolder($event)"
>
<span ng-hide="actionNav.isFile()">Create Bucket</span>
<span ng-show="actionNav.isFile()">Create Folder</span>
<span>Create Folder</span>
</md-button>
</md-menu-item>

Expand Down

0 comments on commit 14d0269

Please sign in to comment.