diff --git a/client/js/util/views.js b/client/js/util/views.js index 647fb991..38c98a13 100644 --- a/client/js/util/views.js +++ b/client/js/util/views.js @@ -235,7 +235,9 @@ function makeTagLink(name, includeHash, includeCount, tag) { function makePoolLink(id, includeHash, includeCount, pool, name) { 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) { text = "#" + text; }