diff options
author | kytwb <kytwb@pm.me> | 2021-12-12 15:04:03 +0100 |
---|---|---|
committer | kytwb <kytwb@pm.me> | 2021-12-12 15:04:03 +0100 |
commit | 6daf31b3bbaf6b1f73a575e949374790e4bdcb04 (patch) | |
tree | 568192192265a604febd2a20433a4a86edabca95 | |
parent | New Crowdin updates (#2313) [skip ci] (diff) | |
download | ferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.tar.gz ferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.tar.zst ferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.zip |
Reset state when closing PublishDebugLogModal
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index 953fc7c21..c1365597a 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -95,6 +95,11 @@ class PublishDebugLogModal extends Component { | |||
95 | // Close this modal | 95 | // Close this modal |
96 | close() { | 96 | close() { |
97 | ModalState.isModalVisible = false; | 97 | ModalState.isModalVisible = false; |
98 | this.setState({ | ||
99 | log: null, | ||
100 | error: false, | ||
101 | isSendingLog: false | ||
102 | }); | ||
98 | } | 103 | } |
99 | 104 | ||
100 | async publishDebugInfo() { | 105 | async publishDebugInfo() { |