cleaning up some minor mess...

This commit is contained in:
Marcell Mars 2021-04-24 01:16:31 +02:00
parent 79ab558529
commit ff7906260f
1 changed files with 0 additions and 3 deletions

View File

@ -48,7 +48,6 @@
candidates = diffArrr(METASP[xastiers[0].split("has_")[1]].tiers, tiers)
}
}
// el.src = `mocka.js`
el.src = `../js/repo/${location.hash.substring(1)}.js`
document.body.appendChild(el)
}
@ -62,13 +61,11 @@
function addToTiersRemoveFromCandidates(v) {
console.log("addToTiers", v.detail)
let value = v.detail
// if (value != 1) {
const tier = candidates.filter(t => t.file == value)
if (tier.length > 0) {
tiers = [...tiers, tier[0]]
candidates = candidates.filter(t=> t != tier[0])
}
// }
}
onMount(()=> {