Skip to content

Commit 49cdd6c

Browse files
committed
lowercase check on stream status
1 parent d4708e4 commit 49cdd6c

File tree

1 file changed

+3
-1
lines changed
  • source/views/streaming/streams

1 file changed

+3
-1
lines changed

source/views/streaming/streams/list.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ export class StreamListView extends React.PureComponent<Props, State> {
9090
.map(stream => {
9191
const date = moment(stream.starttime)
9292
const group =
93-
stream.status !== 'live' ? date.format('dddd, MMMM Do') : 'Live'
93+
stream.status.toLowerCase() !== 'live'
94+
? date.format('dddd, MMMM Do')
95+
: 'Live'
9496

9597
return {
9698
...stream,

0 commit comments

Comments
 (0)