From d171ec4d0c6a40a47af7870c40d1657da2b511e8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 13 Jun 2022 17:04:46 -0700 Subject: Hide link if network null --- modern/src/common/components/PositionValue.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modern') 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 ({t('sharedShowAddress')}); case 'network': - return ({t('sharedInfoTitle')}); + if (value) { + return ({t('sharedInfoTitle')}); + } + return ''; default: return formatValue(value); } -- cgit v1.2.3