This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-21 12:36:39 +01:00
parent c07d18e140
commit e5441d55f1
3 changed files with 33 additions and 13 deletions

View File

@@ -18,6 +18,9 @@ export default {
response.sort((a, b) => {
return a.wins.length > b.wins.length ? -1 : 1;
});
response = response.filter(
person => person.name != null && person.name != ""
);
this.highscore = response;
}
};
@@ -26,11 +29,7 @@ export default {
<style lang="scss" scoped>
div {
font-family: sans-serif;
width: 70vw;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
display: inline-flex;
flex-direction: column;
}
</style>