mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
landscape: new channel surfaces 'back' button on mobile
This commit is contained in:
parent
8a09a216c3
commit
bef97699e2
@ -80,7 +80,7 @@ export function GroupsPane(props: GroupsPaneProps) {
|
|||||||
workspace={workspace}
|
workspace={workspace}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Switch>
|
<Switch>
|
||||||
@ -168,6 +168,7 @@ export function GroupsPane(props: GroupsPaneProps) {
|
|||||||
<NewChannel
|
<NewChannel
|
||||||
{...routeProps}
|
{...routeProps}
|
||||||
api={api}
|
api={api}
|
||||||
|
baseUrl={baseUrl}
|
||||||
associations={associations}
|
associations={associations}
|
||||||
groups={groups}
|
groups={groups}
|
||||||
group={groupPath}
|
group={groupPath}
|
||||||
|
@ -108,6 +108,9 @@ export function NewChannel(props: NewChannelProps & RouteComponentProps) {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Col overflowY="auto" p={3}>
|
<Col overflowY="auto" p={3}>
|
||||||
|
<Box pb='3' display={['block', 'none']} onClick={() => history.push(props.baseUrl)}>
|
||||||
|
{'<- Back'}
|
||||||
|
</Box>
|
||||||
<Box fontWeight="bold" mb={4} color="black">
|
<Box fontWeight="bold" mb={4} color="black">
|
||||||
New Channel
|
New Channel
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user