Skip to content

Commit

Permalink
Merge pull request #126 from episphere/stage
Browse files Browse the repository at this point in the history
Relabelling "Gender" to "Sex"
  • Loading branch information
bhaumik55231 authored Jan 18, 2022
2 parents b84e9ee + d86f334 commit 39a9e9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ const filterData = (jsonData, headers) => {
}
const selectedStudies = array.map(s => s.split('@#$')[1]);
document.getElementById('listFilters').innerHTML = `
<span class="font-bold">Gender: </span>${genderFilter}<span class="vertical-line"></span>
<span class="font-bold">Sex: </span>${genderFilter}<span class="vertical-line"></span>
<span class="font-bold">Genotyping chip: </span>${chipFilter}${selectedStudies.length > 0 ? `
<span class="vertical-line"></span><span class="font-bold">Study: </span>${selectedStudies[0]} ${selectedStudies.length > 1 ? `and <span class="other-variable-count">${selectedStudies.length-1} other</span>`:``}
`:``}`
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dataExploration.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const dataSummaryStatisticsTemplate = () => {
<button id="filterBarToggle"><i class="fas fa-lg fa-caret-left"></i></button>
<div class="main-summary-row pl-2" style="min-height: 10px;margin-bottom: 1rem;">
<div class="col white-bg div-border align-left font-size-17" style="padding: 0.5rem;" id="listFilters">
<span class="font-bold">Gender:</span> All<span class="vertical-line"></span>
<span class="font-bold">Sex:</span> All<span class="vertical-line"></span>
<span class="font-bold">Genotyping chip:</span> All Arrays
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/visualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const allFilters = (jsonData, headers, cimba) => {
let template =`
<div style="width: 100%;">
<div class="form-group">
<label class="filter-label font-size-13" for="genderSelection">Gender</label>
<label class="filter-label font-size-13" for="genderSelection">Sex</label>
<select class="form-control font-size-15" id="genderSelection" data-variable='sex'>
<option selected value='all'>All</option>
<option value='female'>Female</option>
Expand Down

0 comments on commit 39a9e9d

Please sign in to comment.