cleaning up some minor mess...
This commit is contained in:
parent
79ab558529
commit
ff7906260f
1 changed files with 0 additions and 3 deletions
|
@ -48,7 +48,6 @@
|
||||||
candidates = diffArrr(METASP[xastiers[0].split("has_")[1]].tiers, tiers)
|
candidates = diffArrr(METASP[xastiers[0].split("has_")[1]].tiers, tiers)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// el.src = `mocka.js`
|
|
||||||
el.src = `../js/repo/${location.hash.substring(1)}.js`
|
el.src = `../js/repo/${location.hash.substring(1)}.js`
|
||||||
document.body.appendChild(el)
|
document.body.appendChild(el)
|
||||||
}
|
}
|
||||||
|
@ -62,13 +61,11 @@
|
||||||
function addToTiersRemoveFromCandidates(v) {
|
function addToTiersRemoveFromCandidates(v) {
|
||||||
console.log("addToTiers", v.detail)
|
console.log("addToTiers", v.detail)
|
||||||
let value = v.detail
|
let value = v.detail
|
||||||
// if (value != 1) {
|
|
||||||
const tier = candidates.filter(t => t.file == value)
|
const tier = candidates.filter(t => t.file == value)
|
||||||
if (tier.length > 0) {
|
if (tier.length > 0) {
|
||||||
tiers = [...tiers, tier[0]]
|
tiers = [...tiers, tier[0]]
|
||||||
candidates = candidates.filter(t=> t != tier[0])
|
candidates = candidates.filter(t=> t != tier[0])
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(()=> {
|
onMount(()=> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue