parent
ed2046981b
commit
8d0a2b5388
|
|
@ -16,7 +16,7 @@ module.exports = async (ctx) => {
|
|||
.get()
|
||||
.map((i) => {
|
||||
const item = $(i);
|
||||
const itemScore = parseFloat(item.attr('data-score')) || 10;
|
||||
const itemScore = parseFloat(item.attr('data-score')) || 0;
|
||||
if (itemScore >= score) {
|
||||
return {
|
||||
title: item.attr('data-title'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue