diff options
author | 2022-07-25 08:16:50 +0530 | |
---|---|---|
committer | 2022-07-25 08:17:10 +0530 | |
commit | cf282aa351cbc58691fb1b2fb4764830247cdbe8 (patch) | |
tree | 1a6ac4c9abd8b3de9d358016a5065da86cdd8510 /src/features/publishDebugInfo/Component.js | |
parent | 6.0.1-nightly.3 [skip ci] (diff) | |
download | ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.tar.gz ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.tar.zst ferdium-app-cf282aa351cbc58691fb1b2fb4764830247cdbe8.zip |
eslint needs to be executed at the top-level to actually workv6.0.1-nightly.3
Diffstat (limited to 'src/features/publishDebugInfo/Component.js')
-rw-r--r-- | src/features/publishDebugInfo/Component.js | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index 1668ea79a..27661d917 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js | |||
@@ -14,7 +14,9 @@ import { DEBUG_API } from '../../config'; | |||
14 | import AppStore from '../../stores/AppStore'; | 14 | import AppStore from '../../stores/AppStore'; |
15 | import ServicesStore from '../../stores/ServicesStore'; | 15 | import ServicesStore from '../../stores/ServicesStore'; |
16 | 16 | ||
17 | const debug = require('../../preload-safe-debug')('Ferdium:feature:publishDebugInfo'); | 17 | const debug = require('../../preload-safe-debug')( |
18 | 'Ferdium:feature:publishDebugInfo', | ||
19 | ); | ||
18 | 20 | ||
19 | const messages = defineMessages({ | 21 | const messages = defineMessages({ |
20 | title: { | 22 | title: { |
@@ -89,7 +91,7 @@ class PublishDebugLogModal extends Component { | |||
89 | this.setState({ | 91 | this.setState({ |
90 | log: null, | 92 | log: null, |
91 | error: false, | 93 | error: false, |
92 | isSendingLog: false | 94 | isSendingLog: false, |
93 | }); | 95 | }); |
94 | } | 96 | } |
95 | 97 | ||
@@ -149,17 +151,15 @@ class PublishDebugLogModal extends Component { | |||
149 | className={`${classes.modal} publish-debug`} | 151 | className={`${classes.modal} publish-debug`} |
150 | close={() => this.close()} | 152 | close={() => this.close()} |
151 | > | 153 | > |
152 | <H1 className={classes.headline}>{intl.formatMessage(messages.title)}</H1> | 154 | <H1 className={classes.headline}> |
155 | {intl.formatMessage(messages.title)} | ||
156 | </H1> | ||
153 | {log && ( | 157 | {log && ( |
154 | <> | 158 | <> |
155 | <p className={classes.info}> | 159 | <p className={classes.info}> |
156 | {intl.formatMessage(messages.published)} | 160 | {intl.formatMessage(messages.published)} |
157 | </p> | 161 | </p> |
158 | <Input | 162 | <Input showLabel={false} value={`${DEBUG_API}/${log}`} readonly /> |
159 | showLabel={false} | ||
160 | value={`${DEBUG_API}/${log}`} | ||
161 | readonly | ||
162 | /> | ||
163 | </> | 163 | </> |
164 | )} | 164 | )} |
165 | 165 | ||
@@ -169,9 +169,7 @@ class PublishDebugLogModal extends Component { | |||
169 | 169 | ||
170 | {!log && !error && ( | 170 | {!log && !error && ( |
171 | <> | 171 | <> |
172 | <p className={classes.info}> | 172 | <p className={classes.info}>{intl.formatMessage(messages.info)}</p> |
173 | {intl.formatMessage(messages.info)} | ||
174 | </p> | ||
175 | 173 | ||
176 | <a | 174 | <a |
177 | href={`${DEBUG_API}/privacy.html`} | 175 | href={`${DEBUG_API}/privacy.html`} |