Skip to content

Commit f0fd727

Browse files
committed
Fixed incorrect settings setup with SettingOption
1 parent 7cbe522 commit f0fd727

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Frontend/library/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Frontend/library/src/Config/SettingOption.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class SettingOption<
2424
// eslint-disable-next-line @typescript-eslint/no-empty-function
2525
defaultOnChangeListener: (changedValue: unknown, setting: SettingBase) => void = () => { /* Do nothing, to be overridden. */ }
2626
) {
27-
super(id, label, description, [defaultTextValue], defaultOnChangeListener);
27+
super(id, label, description, defaultTextValue, defaultOnChangeListener);
2828

2929
this.options = options;
3030
const urlParams = new URLSearchParams(window.location.search);

0 commit comments

Comments
 (0)