From 28b585284a980fcbbc06e1f440a90485c23745e6 Mon Sep 17 00:00:00 2001
From: CJ <38697367+imisshtml@users.noreply.github.com>
Date: Sun, 12 Jan 2020 06:48:22 -0500
Subject: [PATCH] Removed Markdown from Purpose on Channel Info (#3796)
---
.../channel_info_header.test.js.snap | 666 +-----------------
.../channel_info/channel_info_header.js | 10 +-
2 files changed, 33 insertions(+), 643 deletions(-)
diff --git a/app/screens/channel_info/__snapshots__/channel_info_header.test.js.snap b/app/screens/channel_info/__snapshots__/channel_info_header.test.js.snap
index ba2e68dcb..83cc3219b 100644
--- a/app/screens/channel_info/__snapshots__/channel_info_header.test.js.snap
+++ b/app/screens/channel_info/__snapshots__/channel_info_header.test.js.snap
@@ -117,118 +117,17 @@ exports[`channel_info_header should match snapshot 1`] = `
}
}
/>
-
+ >
+ Purpose string
+
@@ -562,118 +461,17 @@ exports[`channel_info_header should match snapshot when DM and hasGuests and is
}
}
/>
-
+ >
+ Purpose string
+
@@ -979,118 +777,17 @@ exports[`channel_info_header should match snapshot when DM and hasGuests but its
}
}
/>
-
+ >
+ Purpose string
+
@@ -1424,118 +1121,17 @@ exports[`channel_info_header should match snapshot when GM and hasGuests 1`] = `
}
}
/>
-
+ >
+ Purpose string
+
@@ -1841,118 +1437,17 @@ exports[`channel_info_header should match snapshot when is group constrained 1`]
}
}
/>
-
+ >
+ Purpose string
+
@@ -2308,118 +1803,17 @@ exports[`channel_info_header should match snapshot when public channel and hasGu
}
}
/>
-
+ >
+ Purpose string
+
diff --git a/app/screens/channel_info/channel_info_header.js b/app/screens/channel_info/channel_info_header.js
index 4e2fc2fab..88175e467 100644
--- a/app/screens/channel_info/channel_info_header.js
+++ b/app/screens/channel_info/channel_info_header.js
@@ -187,13 +187,9 @@ export default class ChannelInfoHeader extends React.PureComponent {
id='channel_info.purpose'
defaultMessage='Purpose'
/>
-
+
+ {purpose}
+