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

Fix attachment right click save as #2903

Merged
merged 4 commits into from
Sep 6, 2023

Conversation

Bilb
Copy link
Collaborator

@Bilb Bilb commented Sep 6, 2023

Fixes #2893 #2890

<SaveAttachment messageId={messageId} />

{attachments?.length ? (
<Item onClick={saveAttachment}>{window.i18n('downloadAttachment')}</Item>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not && here instead? Then you don't need to return null?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Bilb Bilb merged commit dec8488 into oxen-io:unstable Sep 6, 2023
6 checks passed
@Bilb Bilb deleted the fix-attachment-right-click-save-as branch September 6, 2023 03:35
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.

2 participants