display the number of viewers

This commit is contained in:
byte[] 2019-10-04 18:57:42 -04:00
parent c581a43073
commit 0e86ead40e

View file

@ -12,6 +12,7 @@
span.channel-strip__state.label.label--narrow.label--success span.channel-strip__state.label.label--narrow.label--success
' LIVE NOW ' LIVE NOW
br br
=> @channel.viewers
= if @channel.viewers == 1, do: "viewer", else: "viewers" = if @channel.viewers == 1, do: "viewer", else: "viewers"
- else - else
span.channel-strip__state.label.label--narrow.label--danger span.channel-strip__state.label.label--narrow.label--danger