mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/views: better pool name fallback
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user