mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
parent
8d5671dd4a
commit
16d80e61a2
@ -105,7 +105,6 @@ class ButtonBinding extends React.PureComponent<Props, State> {
|
||||
|
||||
render() {
|
||||
const {binding} = this.props;
|
||||
let customButtonStyle;
|
||||
|
||||
if (!binding.submit && !binding.form?.submit && !binding.form?.source) {
|
||||
return null;
|
||||
@ -118,8 +117,8 @@ class ButtonBinding extends React.PureComponent<Props, State> {
|
||||
|
||||
return (
|
||||
<button
|
||||
className='btn btn-sm'
|
||||
onClick={this.handleClick}
|
||||
style={customButtonStyle}
|
||||
>
|
||||
<LoadingWrapper
|
||||
loading={this.state.executing}
|
||||
|
Loading…
Reference in New Issue
Block a user