From 9fc7ad7b9ce663a9daff9fdd4d934c101f6e38c0 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 29 May 2018 16:40:04 +0200 Subject: [Glitch] Always display tab navigation on local/federated timeline even when empty Port 90b64c006998ec3bae365007781c61e8a79eeeef to glitch-soc --- app/javascript/flavours/glitch/components/status_list.js | 2 +- app/javascript/flavours/glitch/features/community_timeline/index.js | 1 + app/javascript/flavours/glitch/features/public_timeline/index.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch') diff --git a/app/javascript/flavours/glitch/components/status_list.js b/app/javascript/flavours/glitch/components/status_list.js index 5249af76d..a7629bd54 100644 --- a/app/javascript/flavours/glitch/components/status_list.js +++ b/app/javascript/flavours/glitch/components/status_list.js @@ -25,7 +25,7 @@ export default class StatusList extends ImmutablePureComponent { prepend: PropTypes.node, alwaysPrepend: PropTypes.bool, emptyMessage: PropTypes.node, - timelineId: PropTypes.string, + timelineId: PropTypes.string.isRequired, }; static defaultProps = { diff --git a/app/javascript/flavours/glitch/features/community_timeline/index.js b/app/javascript/flavours/glitch/features/community_timeline/index.js index dd9b622ee..dc52aef88 100644 --- a/app/javascript/flavours/glitch/features/community_timeline/index.js +++ b/app/javascript/flavours/glitch/features/community_timeline/index.js @@ -131,6 +131,7 @@ export default class CommunityTimeline extends React.PureComponent {