aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/publishDebugInfo
diff options
context:
space:
mode:
authorLibravatar kytwb <kytwb@pm.me>2021-12-12 15:04:03 +0100
committerLibravatar kytwb <kytwb@pm.me>2021-12-12 15:04:03 +0100
commit6daf31b3bbaf6b1f73a575e949374790e4bdcb04 (patch)
tree568192192265a604febd2a20433a4a86edabca95 /src/features/publishDebugInfo
parentNew Crowdin updates (#2313) [skip ci] (diff)
downloadferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.tar.gz
ferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.tar.zst
ferdium-app-6daf31b3bbaf6b1f73a575e949374790e4bdcb04.zip
Reset state when closing PublishDebugLogModal
Diffstat (limited to 'src/features/publishDebugInfo')
-rw-r--r--src/features/publishDebugInfo/Component.js5
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() {