From 03f28321be9f58b5fd69f6ead9dc9a4053ff2605 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Thu, 13 Aug 2020 09:54:10 -0300 Subject: [PATCH] :ok_hand: hide header on assets list --- client/modules/Mobile/MobileDashboardView.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/modules/Mobile/MobileDashboardView.jsx b/client/modules/Mobile/MobileDashboardView.jsx index bce0f454..270faee7 100644 --- a/client/modules/Mobile/MobileDashboardView.jsx +++ b/client/modules/Mobile/MobileDashboardView.jsx @@ -24,6 +24,7 @@ import Loader from '../App/components/loader'; const EXAMPLE_USERNAME = 'p5'; +// @ghalestrilo 08/13/2020: I'm sorry const ContentWrapper = styled(Content)` table { table-layout: fixed; @@ -85,6 +86,7 @@ const ContentWrapper = styled(Content)` thead tr { grid-template-columns: repeat(${props => props.fieldcount}, 1fr) 0fr; + ${props => props.noheader && 'display: none;'} } tbody tr { @@ -187,7 +189,7 @@ const MobileDashboard = ({ params, location }) => { - + {panel === Tabs[0] && } {panel === Tabs[1] && }