about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose/components
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-06 13:03:52 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-06 13:03:52 -0600
commit26622407719470d8773e177148297378f8f3b07e (patch)
treee0748e16fd5bbf3631865f4673af7385921be189 /app/javascript/flavours/glitch/features/compose/components
parent0ae1bc9796c9d337a9e5d90d4877302e20e7c8fa (diff)
add drafts shortcut to web ui
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose/components')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/navigation_bar.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
index 59172bb23..c8699e2fa 100644
--- a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
+++ b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
@@ -30,6 +30,10 @@ export default class NavigationBar extends ImmutablePureComponent {
             href={ profileLink }
           ><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a>
         )}
+
+        <Permalink className='drafts' href='/tags/self.draft' to='/timelines/tag/self.draft'>
+          <FormattedMessage id='navigation_bar.drafts' defaultMessage='Show drafts' />
+        </Permalink>
       </div>
     );
   };