forked from External/greenlight
handle no previous meetings
This commit is contained in:
parent
e6fb0dbf15
commit
c14bb90eb5
|
@ -73,7 +73,7 @@ initialPopulate = function(){
|
||||||
}
|
}
|
||||||
|
|
||||||
isPreviouslyJoined = function(meeting){
|
isPreviouslyJoined = function(meeting){
|
||||||
joinedMeetings = localStorage.getItem('joinedRooms-' + $('body').data('current-user')).split(',');
|
joinedMeetings = localStorage.getItem('joinedRooms-' + $('body').data('current-user')).split(',') || [];
|
||||||
return joinedMeetings.indexOf(meeting) >= 0
|
return joinedMeetings.indexOf(meeting) >= 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue