Skip to content

Commit

Permalink
Merge branch 'link-fix' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
konzz committed Feb 18, 2025
2 parents 350003b + b25109e commit 78ac5fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/react/Metadata/components/Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ const renderRelationshipLinks = (linksProp, compact) => {

const renderLink = (prop, compact) => {
const { url, label } = prop.value;
const renderLabel = label || url;
return (
<a href={url} target="_blank" rel="noopener noreferrer">
{label.length > 40 && compact ? `${label.substring(0, 40)}...` : label}
{renderLabel.length > 40 && compact ? `${renderLabel.substring(0, 40)}...` : renderLabel}
</a>
);
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uwazi",
"version": "1.201.0-rc2",
"version": "1.201.0-rc3",
"description": "Uwazi is a free, open-source solution for organising, analysing and publishing your documents.",
"keywords": [
"react"
Expand Down

0 comments on commit 78ac5fd

Please sign in to comment.