Commit 54a20bd9 by Calcium-Ion Committed by GitHub

Merge pull request #304 from akl7777777/main

fix: Available models could not be populated when adding a new channel
parents 400be9a2 bfdff136
...@@ -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