From c6ba325a1d73588ae0a3299f7c7aa1506b0c873b Mon Sep 17 00:00:00 2001 From: linzhaoming Date: Tue, 18 Jun 2024 16:51:00 +0800 Subject: [PATCH] fix: available models could not be populated --- web/src/pages/Channel/EditChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Channel/EditChannel.js b/web/src/pages/Channel/EditChannel.js index 2bea352..92769c4 100644 --- a/web/src/pages/Channel/EditChannel.js +++ b/web/src/pages/Channel/EditChannel.js @@ -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; }