mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 17:31:27 +00:00
Merge pull request #1929 from lbryio/email-management
add email management link next to email
This commit is contained in:
commit
9df88a5df5
2 changed files with 9 additions and 2 deletions
|
@ -217,7 +217,14 @@ class HelpPage extends React.PureComponent<Props, State> {
|
||||||
<td>{__('Connected Email')}</td>
|
<td>{__('Connected Email')}</td>
|
||||||
<td>
|
<td>
|
||||||
{user && user.primary_email ? (
|
{user && user.primary_email ? (
|
||||||
user.primary_email
|
<React.Fragment>
|
||||||
|
{user.primary_email}{' '}
|
||||||
|
<Button
|
||||||
|
button="link"
|
||||||
|
href={`http://lbry.io/list/edit/${accessToken}`}
|
||||||
|
label={__('Update mailing preferences')}
|
||||||
|
/>
|
||||||
|
</React.Fragment>
|
||||||
) : (
|
) : (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<span className="empty">{__('none')} </span>
|
<span className="empty">{__('none')} </span>
|
||||||
|
|
|
@ -3,7 +3,7 @@ table.table,
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin-top: $spacing-width;
|
margin-top: $spacing-vertical * 2/3;
|
||||||
|
|
||||||
tr td:first-of-type,
|
tr td:first-of-type,
|
||||||
tr th:first-of-type {
|
tr th:first-of-type {
|
||||||
|
|
Loading…
Add table
Reference in a new issue