diff --git a/.vscode/settings.json b/.vscode/settings.json index a143968c..e50d0ce4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,8 +37,7 @@ "linux/dist/**": true, }, "editor.codeActionsOnSave": { - // "source.organizeImports": true, - "source.fixAll.eslint": true, + "source.fixAll.eslint": "explicit" }, "[typescriptreact]": { "editor.codeActionsOnSave": { diff --git a/webapp/src/widget/buttons/button.tsx b/webapp/src/widget/buttons/button.tsx index 4110615a..bf2ac1a6 100644 --- a/webapp/src/widget/buttons/button.tsx +++ b/webapp/src/widget/buttons/button.tsx @@ -19,6 +19,7 @@ type Props = { danger?: boolean className?: string rightIcon?: boolean + disabled?: boolean } function Button(props: Props): JSX.Element { @@ -40,6 +41,7 @@ function Button(props: Props): JSX.Element { className={generateClassName(classNames)} title={props.title} onBlur={props.onBlur} + disabled={props.disabled} > {!props.rightIcon && props.icon} {props.children}