fix mutators error
This commit is contained in:
parent
4794aa3886
commit
3867c2a4ea
@ -193,7 +193,7 @@ $("#subForm").on("submit", async function(event) {
|
||||
subChannels = $("#subChannels option:selected").toArray().map(channel => channel.value);
|
||||
subFilters = $("#subFilters option:selected").toArray().map(filter => parseInt(filter.value));
|
||||
subMutators = $("#subMutators option:selected").toArray().map(mutator => parseInt(mutator.value));
|
||||
active = true;
|
||||
active = $("#subActive").prop("checked");
|
||||
|
||||
var subPrimaryKey = await saveSubscription(id, name, url, guildId, extraNotes, uwuify, subFilters, subMutators, active);
|
||||
|
||||
@ -504,7 +504,7 @@ async function loadMutatorOptions() {
|
||||
const mutators = await getMutators();
|
||||
console.log(JSON.stringify(mutators));
|
||||
|
||||
mutators.results.forEach(filter => {
|
||||
mutators.forEach(filter => {
|
||||
$("#subMutators").append($("<option>", {
|
||||
text: filter.name,
|
||||
value: filter.id
|
||||
|
Loading…
x
Reference in New Issue
Block a user