diff options
Diffstat (limited to 'src/components/settings')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index f5a29ff82..59aa0190e 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -25,6 +25,8 @@ import { | |||
25 | import { openPath } from '../../../helpers/url-helpers'; | 25 | import { openPath } from '../../../helpers/url-helpers'; |
26 | import globalMessages from '../../../i18n/globalMessages'; | 26 | import globalMessages from '../../../i18n/globalMessages'; |
27 | 27 | ||
28 | const debug = require('debug')('Ferdi:EditSettingsForm'); | ||
29 | |||
28 | const messages = defineMessages({ | 30 | const messages = defineMessages({ |
29 | headlineGeneral: { | 31 | headlineGeneral: { |
30 | id: 'settings.app.headlineGeneral', | 32 | id: 'settings.app.headlineGeneral', |
@@ -268,8 +270,10 @@ class EditSettingsForm extends Component { | |||
268 | let notCleared; | 270 | let notCleared; |
269 | if (this.state.activeSetttingsTab === 'advanced') { | 271 | if (this.state.activeSetttingsTab === 'advanced') { |
270 | const cacheSizeBytes = getCacheSize(); | 272 | const cacheSizeBytes = getCacheSize(); |
273 | debug('cacheSizeBytes:', cacheSizeBytes); | ||
271 | if (typeof cacheSizeBytes === 'number') { | 274 | if (typeof cacheSizeBytes === 'number') { |
272 | cacheSize = prettyBytes(cacheSizeBytes); | 275 | cacheSize = prettyBytes(cacheSizeBytes); |
276 | debug('cacheSize:', cacheSize); | ||
273 | notCleared = | 277 | notCleared = |
274 | this.state.clearCacheButtonClicked && | 278 | this.state.clearCacheButtonClicked && |
275 | isClearingAllCache === false && | 279 | isClearingAllCache === false && |