aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/common/components/PositionValue.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js
index cdb2c6d6..76de2862 100644
--- a/modern/src/common/components/PositionValue.js
+++ b/modern/src/common/components/PositionValue.js
@@ -88,7 +88,10 @@ const PositionValue = ({ position, property, attribute }) => {
}
return (<Link href="#" onClick={showAddress}>{t('sharedShowAddress')}</Link>);
case 'network':
- return (<Link component={RouterLink} to={`/network/${position.id}`}>{t('sharedInfoTitle')}</Link>);
+ if (value) {
+ return (<Link component={RouterLink} to={`/network/${position.id}`}>{t('sharedInfoTitle')}</Link>);
+ }
+ return '';
default:
return formatValue(value);
}