hide tagger name from pub

This commit is contained in:
2026-08-13 21:51:01 +02:00
parent 4a2bd0bd9a
commit d872e7bae3
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -852,7 +852,7 @@ export default {
// Cheat array should include current item and neighbors, sorted
const cheat = [itemid, ...cheatItems.map(i => i.id)].sort((a, b) => a - b);
const tags = await lib.getTags(itemid);
const tags = await lib.getTags(itemid, session);
const itemHalls = await db`select h.name, h.slug from halls h join halls_assign ha on ha.hall_id = h.id where ha.item_id = ${itemid}`;
const userHallsForItem = user_id
? await db`select uh.name, uh.slug from user_halls uh join user_halls_assign uha on uha.hall_id = uh.id where uha.item_id = ${itemid} and uh.user_id = ${user_id}`