From f7da042736334f92fc3566e6a91d51790d7b80aa Mon Sep 17 00:00:00 2001 From: mehbark Date: Thu, 11 Jul 2024 01:29:24 -0400 Subject: [PATCH] name-color: fix customized list --- serverside/name-color.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serverside/name-color.ts b/serverside/name-color.ts index 8374b96..8b10093 100644 --- a/serverside/name-color.ts +++ b/serverside/name-color.ts @@ -70,7 +70,8 @@ async function update_name_color(name: string) { function cssify({ requester }: { requester?: string }): string { const preamble = `/* customized: ${ Object.keys(colors) - .filter((name) => colors[name]) + .filter((name) => colors[name].color) + .sort() .join(", ") } */\n/* look, i don't like !important either, but i think it's a better choice than some lame .spec.ific.ity.hack.ing */\n\n`;