Commit bfdff136 by akl7777777 Committed by GitHub

fix: Available models could not be populated when adding a new channel

parent 5c050283
...@@ -209,7 +209,7 @@ const EditChannel = (props) => { ...@@ -209,7 +209,7 @@ const EditChannel = (props) => {
} }
}) })
if (res.data && res.data?.success) { if (res.data && res.data?.success) {
models.push(...es.data.data.map((model) => model.id)) models.push(...res.data.data.map((model) => model.id))
} else { } else {
err = true err = true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment