mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-20 09:16:37 +08:00
Merge pull request #304 from akl7777777/main
fix: Available models could not be populated when adding a new channel
This commit is contained in:
commit
1289be0484
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user