Add Go Live to header dropdown

This commit is contained in:
DispatchCommit 2021-02-26 08:12:32 -08:00
parent 94fe68eb45
commit a443caba71
3 changed files with 6 additions and 0 deletions

View file

@ -1185,6 +1185,7 @@
"Download the app to track files you've viewed and downloaded.": "Download the app to track files you've viewed and downloaded.", "Download the app to track files you've viewed and downloaded.": "Download the app to track files you've viewed and downloaded.",
"Create a New Channel": "Create a New Channel", "Create a New Channel": "Create a New Channel",
"Create a new channel": "Create a new channel", "Create a new channel": "Create a new channel",
"Go Live": "Go Live",
"Thumbnail source": "Thumbnail source", "Thumbnail source": "Thumbnail source",
"Cover source": "Cover source", "Cover source": "Cover source",
"Your changes will be live in a few minutes": "Your changes will be live in a few minutes", "Your changes will be live in a few minutes": "Your changes will be live in a few minutes",

View file

@ -374,6 +374,10 @@ function HeaderMenuButtons(props: HeaderMenuButtonProps) {
<Icon aria-hidden icon={ICONS.CHANNEL} /> <Icon aria-hidden icon={ICONS.CHANNEL} />
{__('New Channel')} {__('New Channel')}
</MenuItem> </MenuItem>
<MenuItem className="menu__link" onSelect={() => history.push(`/$/${PAGES.GO_LIVE}`)}>
<Icon aria-hidden icon={ICONS.VIDEO} />
{__('Go Live')}
</MenuItem>
</MenuList> </MenuList>
</Menu> </Menu>
)} )}

View file

@ -48,3 +48,4 @@ exports.BUY = 'buy';
exports.CHANNEL_NEW = 'channel/new'; exports.CHANNEL_NEW = 'channel/new';
exports.NOTIFICATIONS = 'notifications'; exports.NOTIFICATIONS = 'notifications';
exports.YOUTUBE_SYNC = 'youtube'; exports.YOUTUBE_SYNC = 'youtube';
exports.GO_LIVE = 'livestream';