Unverified Commit 132a3a3e authored by Liana Husikyan's avatar Liana Husikyan Committed by GitHub

standard

parent 33fd4b74
......@@ -284,7 +284,7 @@ class CompilerContainer {
this._updateLanguageSelector()
}
_shouldBeAdded(version) {
_shouldBeAdded (version) {
return !version.includes('nightly') ||
(version.includes('nightly') && this._view.includeNightlies.checked)
}
......@@ -299,7 +299,7 @@ class CompilerContainer {
const option = build.path === this.data.selectedVersion
? yo`<option value="${build.path}" selected>${build.longVersion}</option>`
: yo`<option value="${build.path}">${build.longVersion}</option>`
if (this._shouldBeAdded(option.innerText)) {
this._view.versionSelector.appendChild(option)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment