Updated sidebar

This commit is contained in:
2025-08-23 22:30:11 +02:00
parent c505512110
commit c92bd85f34
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,5 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
*.http
# dependencies # dependencies
/node_modules /node_modules
/.pnp /.pnp

View File

@@ -9,7 +9,7 @@ export function getGuildRankTag(guild: Guild["guild"], uuid: string) {
if (member?.rank === "Guild Master") return "[GM]" if (member?.rank === "Guild Master") return "[GM]"
const rank = guild.ranks.find(r => r.name === member?.rank)?.tag const rank = guild.ranks?.find(r => r.name === member?.rank)?.tag
if (rank == null) { if (rank == null) {
return "" return ""

View File

@@ -19,7 +19,7 @@ export const guildSchema = z.object({
tag: z.string().nullish().optional(), tag: z.string().nullish().optional(),
created: z.number(), created: z.number(),
priority: z.number() priority: z.number()
})) })).optional()
}) })
}) })