From 8150993caf117dc089fbe44290b5800c42a0607d Mon Sep 17 00:00:00 2001 From: fengsilin Date: Mon, 1 Jun 2026 16:28:01 +0800 Subject: [PATCH] fix(admin): improve channel form inputs Expose channel public_name in the edit modal and load a larger channel page when building model settings views. Co-Authored-By: Codex --- .../table/channels/modals/EditChannelModal.jsx | 10 ++++++++++ .../pages/Setting/Ratio/ModelSettingsVisualEditor.jsx | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/web/src/components/table/channels/modals/EditChannelModal.jsx b/web/src/components/table/channels/modals/EditChannelModal.jsx index 7fd78a3..757f4ee 100644 --- a/web/src/components/table/channels/modals/EditChannelModal.jsx +++ b/web/src/components/table/channels/modals/EditChannelModal.jsx @@ -2014,6 +2014,16 @@ const EditChannelModal = (props) => { autoComplete='new-password' /> + handleInputChange('public_name', value)} + autoComplete='new-password' + /> + {inputs.type === 33 && ( <> { try { - const res = await API.get('/api/channel/'); + const res = await API.get('/api/channel/?page_size=100'); if (res.data.success) { // API returns {items: [...], total: ...}, extract items array const data = res.data.data;