cleaning up some minor mess...
This commit is contained in:
parent
79ab558529
commit
ff7906260f
|
@ -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(()=> {
|
||||
|
|
Loading…
Reference in New Issue