@@ -40,11 +45,21 @@ export function Contact({ close, guid, listing }) {
)}
-
{ state.location }
+ { state.location && (
+
{ state.location }
+ )}
+ { !state.location && (
+
location
+ )}
-
{ state.description }
+ { state.description && (
+
{ state.description }
+ )}
+ { !state.description && (
+
description
+ )}
{ state.status === 'connected' && (
diff --git a/net/web/src/session/contact/Contact.styled.js b/net/web/src/session/contact/Contact.styled.js
index 39c8d7fc..c70fc17f 100644
--- a/net/web/src/session/contact/Contact.styled.js
+++ b/net/web/src/session/contact/Contact.styled.js
@@ -53,6 +53,11 @@ export const ContactWrapper = styled.div`
display: flex;
flex-direction: column;
+ .notset {
+ font-style: italic;
+ color: ${Colors.grey};
+ }
+
.name {
display: flex;
flex-direction: row;
diff --git a/net/web/src/session/profile/Profile.jsx b/net/web/src/session/profile/Profile.jsx
index b506d994..6510a7d9 100644
--- a/net/web/src/session/profile/Profile.jsx
+++ b/net/web/src/session/profile/Profile.jsx
@@ -72,18 +72,33 @@ export function Profile({ closeProfile }) {
const Details = (
-
{ state.name }
+ { state.name && (
+
{ state.name }
+ )}
+ { !state.name && (
+
name
+ )}
-
{ state.location }
+ { state.location && (
+
{ state.location }
+ )}
+ { !state.location && (
+
location
+ )}
-
{ state.description }
+ { state.description && (
+
{ state.description }
+ )}
+ { !state.description && (
+
description
+ )}
);
diff --git a/net/web/src/session/profile/Profile.styled.js b/net/web/src/session/profile/Profile.styled.js
index d5fa6454..918e6241 100644
--- a/net/web/src/session/profile/Profile.styled.js
+++ b/net/web/src/session/profile/Profile.styled.js
@@ -73,6 +73,11 @@ export const ProfileWrapper = styled.div`
display: flex;
flex-direction: column;
+ .notset {
+ font-style: italic;
+ color: ${Colors.grey};
+ }
+
.name {
display: flex;
flex-direction: row;