From 9f16d2aab96760ff1c1b41c860e83f59d1dbe409 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Sat, 30 Nov 2019 14:40:40 -0500 Subject: [PATCH] Adds a button at the top right corner of the channel list page --- ui/page/channels/view.jsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/ui/page/channels/view.jsx b/ui/page/channels/view.jsx index a067016a9..dccbfc80d 100644 --- a/ui/page/channels/view.jsx +++ b/ui/page/channels/view.jsx @@ -5,6 +5,8 @@ import Page from 'component/page'; import Button from 'component/button'; import YoutubeTransferStatus from 'component/youtubeTransferStatus'; import Spinner from 'component/spinner'; +import * as PAGES from 'constants/pages'; +import * as ICONS from 'constants/icons'; type Props = { channels: Array, @@ -43,6 +45,15 @@ export default function ChannelsPage(props: Props) { header={__('Your Channels')} loading={fetchingChannels} uris={channels.map(channel => channel.permanent_url)} + headerAltControls={ +