Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 8af0cc6

Browse files
committed
Re-add lazy disabling of clear summary
1 parent 6e339e4 commit 8af0cc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/botPage/view/TradeInfoPanel/ClearButton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default class ClearButton extends React.PureComponent {
1111
componentDidMount() {
1212
globalObserver.register('summary.enable_clear', () => this.setState({ isButtonDisabled: false }));
1313
globalObserver.register('summary.disable_clear', () => this.setState({ isButtonDisabled: true }));
14+
globalObserver.register('bot.running', () => this.setState({ isButtonDisabled: true }));
1415
}
1516
// eslint-disable-next-line class-methods-use-this
1617
confirmClearLog() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy