aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/publishDebugInfo
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-07-25 08:16:50 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-07-25 08:17:10 +0530
commitcf282aa351cbc58691fb1b2fb4764830247cdbe8 (patch)
tree1a6ac4c9abd8b3de9d358016a5065da86cdd8510 /src/features/publishDebugInfo
parent6.0.1-nightly.3 [skip ci] (diff)
downloadferdium-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')
-rw-r--r--src/features/publishDebugInfo/Component.js20
-rw-r--r--src/features/publishDebugInfo/index.ts4
2 files changed, 12 insertions, 12 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';
14import AppStore from '../../stores/AppStore'; 14import AppStore from '../../stores/AppStore';
15import ServicesStore from '../../stores/ServicesStore'; 15import ServicesStore from '../../stores/ServicesStore';
16 16
17const debug = require('../../preload-safe-debug')('Ferdium:feature:publishDebugInfo'); 17const debug = require('../../preload-safe-debug')(
18 'Ferdium:feature:publishDebugInfo',
19);
18 20
19const messages = defineMessages({ 21const 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`}
diff --git a/src/features/publishDebugInfo/index.ts b/src/features/publishDebugInfo/index.ts
index 597bcdc12..80714a104 100644
--- a/src/features/publishDebugInfo/index.ts
+++ b/src/features/publishDebugInfo/index.ts
@@ -3,7 +3,9 @@ import { state as ModalState } from './store';
3export { default as Component } from './Component'; 3export { default as Component } from './Component';
4 4
5const state = ModalState; 5const state = ModalState;
6const debug = require('../../preload-safe-debug')('Ferdium:feature:publishDebugInfo'); 6const debug = require('../../preload-safe-debug')(
7 'Ferdium:feature:publishDebugInfo',
8);
7 9
8export default function initialize() { 10export default function initialize() {
9 debug('Initialize publishDebugInfo feature'); 11 debug('Initialize publishDebugInfo feature');