From 8d971234a2cb72d0594ef53afbd37602f7e4ed43 Mon Sep 17 00:00:00 2001 From: Eva Date: Fri, 26 May 2023 10:06:28 +0200 Subject: [PATCH] client/views: better pool name fallback --- client/js/util/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/util/views.js b/client/js/util/views.js index bb52409a..f6280a1c 100644 --- a/client/js/util/views.js +++ b/client/js/util/views.js @@ -236,7 +236,7 @@ function makeTagLink(name, includeHash, includeCount, tag) { function makePoolLink(id, includeHash, includeCount, pool, name) { const category = pool && pool.category ? pool.category : "unknown"; let text = misc.getPrettyName( - name ? name : pool && pool.names ? pool.names[0] : "unknown" + name ? name : pool && pool.names ? pool.names[0] : "pool " + id ); if (includeHash === true) { text = "#" + text;