Skip to content

Commit

Permalink
fix: channel edit settings key error (songquanpeng#1496)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartialBE authored and jinjianming committed Jul 17, 2024
1 parent c89b644 commit 37dc51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/berry/src/views/Channel/component/EditModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
}
Expand Down

0 comments on commit 37dc51e

Please sign in to comment.