Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[frontend] fix import openpgp manager #1507

Merged
merged 5 commits into from Mar 16, 2021
Merged

Conversation

iamdey
Copy link
Member

@iamdey iamdey commented Mar 10, 2021

refactor double declaration of generateKey

refactor double declaration of `generateKey`
@iamdey
Copy link
Member Author

iamdey commented Mar 10, 2021

not fully verified yet

@iamdey
Copy link
Member Author

iamdey commented Mar 16, 2021

should be fine now

this.state.files.map((file) => (
<File file={file} onRemove={this.resetForm} />
this.state.files.map((file, i) => (
<File key={i} file={file} onRemove={this.resetForm} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No array index in key… Mais que fait eslint ? :p

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least index is better than nothing :)


{keyDetails && (
<div className="m-openpgp-key__summary">
<span>{keyDetails?.userIds}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

userIds are thrown as is, without separators, which is difficult to read. We may want to dive in a little bit to see how to display this in a better way.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@iamdey iamdey merged commit 8198e10 into master Mar 16, 2021
@iamdey iamdey deleted the frontend/fix_openpgp_usage branch March 16, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants