Skip to content

Commit

Permalink
fix: fix default theme blank screen when edit channel again (songquan…
Browse files Browse the repository at this point in the history
…peng#1363)

* fix: throw exception after submit channel edit

* fix: replace with destructuring assignment
  • Loading branch information
tylinux authored Apr 24, 2024
1 parent 779b747 commit cb33e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/default/src/pages/Channel/EditChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const EditChannel = () => {
showInfo('模型映射必须是合法的 JSON 格式!');
return;
}
let localInputs = inputs;
let localInputs = {...inputs};
if (localInputs.base_url && localInputs.base_url.endsWith('/')) {
localInputs.base_url = localInputs.base_url.slice(0, localInputs.base_url.length - 1);
}
Expand Down

0 comments on commit cb33e8a

Please sign in to comment.