fix: style colour being reset on edit modal
Some checks failed
Build / build (push) Failing after 37s
Some checks failed
Build / build (push) Failing after 37s
This commit is contained in:
parent
cc845d3adc
commit
fb76266250
@ -422,7 +422,7 @@ const loadEditModalData = async (id: number) => {
|
|||||||
$(editModal.el).data("id", style.id);
|
$(editModal.el).data("id", style.id);
|
||||||
|
|
||||||
$("#formName").val(style.name);
|
$("#formName").val(style.name);
|
||||||
updateColourInput("#5865F2");
|
updateColourInput(style.colour);
|
||||||
|
|
||||||
titleMutatorSelect.setValue(style.title_mutator || "");
|
titleMutatorSelect.setValue(style.title_mutator || "");
|
||||||
descriptionMutatorSelect.setValue(style.description_mutator || "");
|
descriptionMutatorSelect.setValue(style.description_mutator || "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user