From 081956742cbcd6a51e48669fc5e3d21df0f879a7 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 23 Dec 2017 22:47:02 -0500 Subject: removed references to hideOnMobile in column_link and getting_started (#6082) * removed references to hideOnMobile in column_link and getting_started * move keyboard shortcuts back below blocked users --- app/javascript/mastodon/features/getting_started/index.js | 13 ++++++++----- .../mastodon/features/ui/components/column_link.js | 1 - 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'app/javascript') diff --git a/app/javascript/mastodon/features/getting_started/index.js b/app/javascript/mastodon/features/getting_started/index.js index 4b4c02bcc..11fb6d365 100644 --- a/app/javascript/mastodon/features/getting_started/index.js +++ b/app/javascript/mastodon/features/getting_started/index.js @@ -71,19 +71,22 @@ export default class GettingStarted extends ImmutablePureComponent { navItems = navItems.concat([ , , - , + , ]); if (myAccount.get('locked')) { - navItems.push(); + navItems.push(); } navItems = navItems.concat([ - , - , - , + , + , ]); + if (multiColumn) { + navItems.push(); + } + return (
diff --git a/app/javascript/mastodon/features/ui/components/column_link.js b/app/javascript/mastodon/features/ui/components/column_link.js index 5425219c4..a90616213 100644 --- a/app/javascript/mastodon/features/ui/components/column_link.js +++ b/app/javascript/mastodon/features/ui/components/column_link.js @@ -26,7 +26,6 @@ ColumnLink.propTypes = { to: PropTypes.string, href: PropTypes.string, method: PropTypes.string, - hideOnMobile: PropTypes.bool, }; export default ColumnLink; -- cgit