Skip to content

Conversation

@Rabithua
Copy link
Owner

This pull request makes a small but important change to the rendering logic in the RoteItem component. Now, link previews will only be displayed if there are no attachments present, in addition to the previous conditions. This prevents link previews from showing up when attachments exist, which likely improves the clarity of the UI.

  • Updated the conditional rendering in RoteItem (roteItem.tsx) so that link previews are only shown if there are no attachments, ensuring attachments take precedence in the UI.

Updated the condition to render link previews so they are only shown if there are no attachments, in addition to no article or articleId. This prevents link previews from displaying when attachments are present.
@Rabithua Rabithua merged commit aab7bf1 into main Jan 19, 2026
10 checks passed
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