From 0258fcfa5c8da92351371169b66ce30462a34853 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 16 May 2016 17:06:26 +0500 Subject: Adding compact layout (#2991) * Adding compact layout * Fixing ESLint error --- webapp/components/time_since.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webapp/components/time_since.jsx') diff --git a/webapp/components/time_since.jsx b/webapp/components/time_since.jsx index f715193e2..50a0f7d04 100644 --- a/webapp/components/time_since.jsx +++ b/webapp/components/time_since.jsx @@ -26,7 +26,7 @@ export default class TimeSince extends React.Component { clearInterval(this.intervalId); } render() { - if (this.props.sameUser) { + if (this.props.sameUser || this.props.compactDisplay) { return (