Skip to content

Commit

Permalink
now we have a real group of music that will be played
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Jul 10, 2019
1 parent 87073fb commit 2819c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/EMM-WebApplication/EMMListModule.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ EMMListModule >> renderContentOn: html [
with: 'Author'.
html mdlTableHeading with: 'Length' ] ].
html
tableBody: [ datas
do: [ :song |
tableBody: [ datas doWithIndex:
[ :song :index |
html
tableRow: [ html mdlTableCell with: song track.
html mdlTableCell
Expand All @@ -60,7 +60,7 @@ EMMListModule >> renderContentOn: html [
icon;
with: [ html mdlIcon: 'stop' ] ]
ifFalse: [ html mdlAnchorButton
callback: [ self session musicPlayer musicList: { song } asOrderedCollection ];
callback: [ self session musicPlayer musicList: (datas copyFrom: index to: datas size ) ];
colored;
icon;
with: [ html mdlIcon: 'play_arrow' ] ] ] ] ] ] ]
Expand Down

0 comments on commit 2819c0e

Please sign in to comment.