feat: files related improvements

This commit is contained in:
Mo
2022-05-10 10:32:05 -05:00
parent 026a26ac04
commit d7ba3935ed
7 changed files with 42 additions and 46 deletions

View File

@@ -947,15 +947,13 @@ export class NoteView extends PureComponent<Props, State> {
{this.state.noteStatus?.desc && <div className="desc">{this.state.noteStatus.desc}</div>}
</div>
</div>
{this.appState.features.isFilesEnabled && (
<div className="mr-3">
<AttachedFilesButton
application={this.application}
appState={this.appState}
onClickPreprocessing={this.ensureNoteIsInsertedBeforeUIAction}
/>
</div>
)}
<div className="mr-3">
<AttachedFilesButton
application={this.application}
appState={this.appState}
onClickPreprocessing={this.ensureNoteIsInsertedBeforeUIAction}
/>
</div>
<div className="mr-3">
<ChangeEditorButton
application={this.application}