File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/static/riot/competitions/detail Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 269269 self.handle_websocket(event_data.submission_id, data)
270270 }
271271 })
272- self.detailed_result_urls[submission_id] = detailed_result_url
272+ self.detailed_result_urls[event_data. submission_id] = detailed_result_url
273273 self.update()
274274 break
275275 case 'message':
443443 }
444444 }
445445 }
446- return form_json === {} ? null : form_json
446+ return _.isEmpty( form_json) ? null : form_json
447447 }
448448
449449 self.upload = function () {
472472 self.lines = {}
473473 let dropdown = $('#organization_dropdown')
474474 let organization = dropdown.dropdown('get value')
475- if(organization === 'add_organization' | organization === 'None'){
475+ if(organization === 'add_organization' || organization === 'None'){
476476 organization = null
477477 }
478478 dropdown.attr('disabled', 'disabled')
You can’t perform that action at this time.
0 commit comments