Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
refactor(sidebar-footer): add discussLinker to sub-dir label
Browse files Browse the repository at this point in the history
  • Loading branch information
mydearxym committed Aug 25, 2019
1 parent df46ba0 commit 7088b4d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/containers/Sidebar/Footer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import React from 'react'
// eslint-disable-next-line import/named
import { ICON_CMD } from '@config'
import { ICON_CMD, ISSUE_ADDR } from '@config'

import Popover from '@components/Popover'
import DiscussLinker from '@components/DiscussLinker'

import {
Wrapper,
Expand All @@ -22,7 +25,13 @@ const Footer = ({ pin, showFooterShadow, sortOptActive }) => (
排序
</OptionItem>
<OptionDivider />
<OptionItem>分组</OptionItem>
<Popover
placement="top"
trigger="hover"
content={<DiscussLinker title="分组" addr={`${ISSUE_ADDR}/597`} />}
>
<OptionItem>分组</OptionItem>
</Popover>
</OptionWrapper>
</InnerWrapper>
</Wrapper>
Expand Down

0 comments on commit 7088b4d

Please sign in to comment.