Skip to content

Commit 5020363

Browse files
committed
Changes subtitle for purge files
1 parent 0196290 commit 5020363

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/dashboard/Settings/GeneralSettings.react.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ let ManageAppFields = ({
181181
labelWidth={DEFAULT_SETTINGS_LABEL_WIDTH}
182182
label={<Label
183183
text='Clean up app'
184-
description={<span>This will delete any files that <br/>are not referenced by any objects.</span>} />}
184+
description={<span>This will delete any files that are not referenced by any objects.
185+
(Don't use the feature if you have Arrays of Files,<br/>or Files inside Object columns!)
186+
</span>} />}
185187
input={<FormButton
186188
onClick={cleanUpFiles}
187189
value='Clean Up Files'/>} />
@@ -542,7 +544,7 @@ export default class GeneralSettings extends DashboardView {
542544
onCancel={() => this.setState({showPurgeFilesModal: false})}
543545
onConfirm={() => this.context.currentApp.cleanUpFiles().then(result => {
544546
this.setState({
545-
cleanupFilesMessage: result.notice || 'Files will be deleted soon...',
547+
cleanupFilesMessage: 'All set! Your files will be deleted soon.',
546548
cleanupNoteColor: 'orange',
547549
showPurgeFilesModal: false,
548550
});

0 commit comments

Comments
 (0)