@ -50,8 +50,12 @@ const filters = {
query.p--;
}
// Don't add p var if it's page 1
query.p == 1 && delete query.p
// Encode query string
return `/?${querystring.encode(query)}`;
const queryString = querystring.encode(query);
return queryString ? `/?${queryString}` : '/';
},
name: node => node.nickname
|| node.fingerprint && node.fingerprint.slice(0, 8)