parent
b037ce80c3
commit
13e2888ae4
1 changed files with 3 additions and 1 deletions
|
@ -235,7 +235,9 @@ function makeTagLink(name, includeHash, includeCount, tag) {
|
||||||
|
|
||||||
function makePoolLink(id, includeHash, includeCount, pool, name) {
|
function makePoolLink(id, includeHash, includeCount, pool, name) {
|
||||||
const category = pool ? pool.category : "unknown";
|
const category = pool ? pool.category : "unknown";
|
||||||
let text = misc.getPrettyName(name ? name : pool.names[0]);
|
let text = misc.getPrettyName(
|
||||||
|
name ? name : pool ? pool.names[0] : "unknown"
|
||||||
|
);
|
||||||
if (includeHash === true) {
|
if (includeHash === true) {
|
||||||
text = "#" + text;
|
text = "#" + text;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue