Skip to content

Commit

Permalink
games: Hide download button when not logged.
Browse files Browse the repository at this point in the history
  • Loading branch information
freezy committed Feb 12, 2019
1 parent 2e9e4ff commit 3a918de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/games/details/game.details-03-roms.pug
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ table.table.table-double-striped(ng-show="vm.roms.length > 0")
td.code {{ file.modified_at | date:'yyyy-MM-dd HH:mm' }}
td.code 0x{{ file.crc | hex }}

button.btn.btn-primary.pull-right.space-right.padder-bottom(ng-click="vm.downloadRom(rom)")
button.btn.btn-primary.pull-right.space-right.padder-bottom(ng-if="vm.AuthService.isAuthenticated", ng-click="vm.downloadRom(rom)")
+icon('download').space-right
| Download
.clearfix

0 comments on commit 3a918de

Please sign in to comment.