Merge pull request #304 from akl7777777/main

fix: Available models could not be populated when adding a new channel
This commit is contained in:
Calcium-Ion 2024-06-20 15:47:03 +08:00 committed by GitHub
commit 1289be0484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ const EditChannel = (props) => {
}
})
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 {
err = true
}