We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4536e8d commit d7c538dCopy full SHA for d7c538d
app/views/isa_studies/_study_table.html.erb
@@ -41,7 +41,7 @@
41
42
function createSampleTypeOptions(types){
43
$j("#options_container").append('<div id="checkbox_group" class="btn-group" data-toggle="buttons"></div>')
44
- let studyTitle = '<%= study&.title.nil? ? 'Study' : study&.title %>';
+ let studyTitle = '<%= study&.title || 'Study' %>';
45
let sourceSampleType = types[0];
46
let sampleSampleType = types[1];
47
let source_elem = `<label class="btn btn-default active sp-btn-variant-0"><input id="checkbox-${sourceSampleType.id}" type="checkbox" checked onchange="toggleSampleType(${sourceSampleType.id}, $j(this))" />${studyTitle} - sources</label>`;
0 commit comments