From 6aafb7a99ed9ccd8905ade480f133e0c9bb138d6 Mon Sep 17 00:00:00 2001 From: Buer <42402987+MartialBE@users.noreply.github.com> Date: Thu, 13 Jun 2024 00:08:49 +0800 Subject: [PATCH] fix: channel edit settings key error (#1496) --- web/berry/src/views/Channel/component/EditModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/berry/src/views/Channel/component/EditModal.js b/web/berry/src/views/Channel/component/EditModal.js index 4f7f216d..29bd3de2 100644 --- a/web/berry/src/views/Channel/component/EditModal.js +++ b/web/berry/src/views/Channel/component/EditModal.js @@ -163,7 +163,7 @@ const EditModal = ({ open, channelId, onCancel, onOk }) => { values.other = 'v2.1'; } if (values.key === '') { - if (values.config.ak !== '' && values.config.sk !== '' && values.config.region !== '') { + if (values.config.ak && values.config.sk && values.config.region) { values.key = `${values.config.ak}|${values.config.sk}|${values.config.region}`; } }