mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 00:13:12 +03:00
group-filter: close modal on navigation
This commit is contained in:
parent
b4a72db844
commit
ef00dc71e4
@ -163,7 +163,7 @@ export default class GroupFilter extends Component {
|
|||||||
<li
|
<li
|
||||||
key={group[0]}
|
key={group[0]}
|
||||||
className="tl list white-d f9 pv2 ph3 pointer hover-bg-gray4 hover-bg-gray1-d inter"
|
className="tl list white-d f9 pv2 ph3 pointer hover-bg-gray4 hover-bg-gray1-d inter"
|
||||||
onClick={() => this.addGroup(group)}
|
onClick={() => this.addGroup(group)}
|
||||||
>
|
>
|
||||||
<span className="mix-blend-diff white">{(group[1]) ? group[1] : group[0]}</span>
|
<span className="mix-blend-diff white">{(group[1]) ? group[1] : group[0]}</span>
|
||||||
</li>
|
</li>
|
||||||
@ -223,7 +223,12 @@ onClick={() => this.addGroup(group)}
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<p className="tc bb b--gray3 b--gray1-d gray3 pv4 f9">Group Select and Filter</p>
|
<p className="tc bb b--gray3 b--gray1-d gray3 pv4 f9">Group Select and Filter</p>
|
||||||
<Link to="/~groups" className="ma4 bg-gray5 bg-gray1-d f9 tl pa1 br1 db no-underline" style={{ paddingLeft: '6.5px', paddingRight: '6.5px' }}>Manage all Groups
|
<Link to="/~groups"
|
||||||
|
className="ma4 bg-gray5 bg-gray1-d f9 tl pa1 br1 db no-underline"
|
||||||
|
style={{ paddingLeft: '6.5px', paddingRight: '6.5px' }}
|
||||||
|
onClick={() => this.setState({ open: false })}
|
||||||
|
>
|
||||||
|
Manage all Groups
|
||||||
{inviteCount}
|
{inviteCount}
|
||||||
</Link>
|
</Link>
|
||||||
<p className="pt4 gray3 f9 tl mh4">Filter Groups</p>
|
<p className="pt4 gray3 f9 tl mh4">Filter Groups</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user