Skip to content

Commit

Permalink
Attempt to fix queue mods.
Browse files Browse the repository at this point in the history
  • Loading branch information
martindale committed Oct 5, 2015
1 parent 8b654cd commit df098c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ block content
a(href="{{track.curator.slug}}") {{track.curator.username}}
| wants to play
- if (!room._owner._id && room._owner) room._owner = { _id: room._owner };
if (user && room._owner && (user._id.toString() === room._owner.toString()) || (user && user.roles && ~user.roles.indexOf('admin')))
if (user && room._owner && (user._id.toString() === room._owner._id.toString()) || (user && user.roles && ~user.roles.indexOf('admin')))
|
a(href="#", data-action="remove-queued-track", data-track-id="{{track._id}}", data-track-index="{{$index}}")
i.icon-remove.icon-white
Expand Down

0 comments on commit df098c6

Please sign in to comment.