From fb762662506bd98c3b7310befbeaf308b7805c6e Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Mon, 12 May 2025 11:24:31 +0100 Subject: [PATCH] fix: style colour being reset on edit modal --- src/client/src/ts/guild/styles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/ts/guild/styles.ts b/src/client/src/ts/guild/styles.ts index e1b0feb..92139cd 100644 --- a/src/client/src/ts/guild/styles.ts +++ b/src/client/src/ts/guild/styles.ts @@ -422,7 +422,7 @@ const loadEditModalData = async (id: number) => { $(editModal.el).data("id", style.id); $("#formName").val(style.name); - updateColourInput("#5865F2"); + updateColourInput(style.colour); titleMutatorSelect.setValue(style.title_mutator || ""); descriptionMutatorSelect.setValue(style.description_mutator || "");