Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit adfc4e9

Browse files
author
Scott Lepper
committed
fix url setting
1 parent b945d93 commit adfc4e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/ConfigEditor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ export class ConfigEditor extends PureComponent<Props, State> {
4343
const jsonData = { ...state.jsonData, ...option };
4444

4545
const { onOptionsChange, options } = this.props;
46+
const opt = {...options, url: option.url || options.url};
4647
onOptionsChange({
47-
...options,
48+
...opt,
4849
jsonData,
4950
});
5051

0 commit comments

Comments
 (0)