mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
6111a4d927
commit
6c398cdeb5
2 changed files with 5 additions and 5 deletions
|
|
@ -31,13 +31,13 @@ const SubscribeButtonGroupDropdown = (props: ISubscribeButtonGroupDropdownProps)
|
|||
mirrorIndex++;
|
||||
}
|
||||
|
||||
return <DropdownButton id="subscribe-dropdown" drop="left" variant="primary" title="Subscribe" className="fl-btn-link">
|
||||
<Dropdown.Item >
|
||||
return <DropdownButton id="subscribe-dropdown" drop="left" variant="primary" title="Subscribe">
|
||||
<Dropdown.Item as='span'>
|
||||
<SubscribeButton {...props} text={firstButtonText} />
|
||||
</Dropdown.Item>
|
||||
{props.urlMirrors.map(
|
||||
(m: string, i: number) =>
|
||||
<Dropdown.Item key={i}>
|
||||
<Dropdown.Item key={i} as='span'>
|
||||
<SubscribeButton {...props} url={m} text={`Mirror ${i + 1 + mirrorIndex}`} />
|
||||
</Dropdown.Item>)}
|
||||
</DropdownButton>;
|
||||
|
|
|
|||
|
|
@ -31,12 +31,12 @@ const ViewButtonGroupDropdown = (props: IViewButtonGroupDropdownProps) => {
|
|||
}
|
||||
|
||||
return <DropdownButton id="view-dropdown" drop="left" variant="primary" title="View" className="fl-btn-link">
|
||||
<Dropdown.Item >
|
||||
<Dropdown.Item as='span'>
|
||||
<ViewButton {...props} text={firstButtonText} />
|
||||
</Dropdown.Item>
|
||||
{props.urlMirrors.map(
|
||||
(m: string, i: number) =>
|
||||
<Dropdown.Item key={i}>
|
||||
<Dropdown.Item key={i} as='span'>
|
||||
<ViewButton {...props} url={m} text={`Mirror ${i + 1 + mirrorIndex}`} />
|
||||
</Dropdown.Item>)}
|
||||
</DropdownButton>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue