Merge pull request #1929 from lbryio/email-management

add email management link next to email
This commit is contained in:
Shawn K 2018-09-02 19:09:29 -05:00 committed by GitHub
commit 9df88a5df5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -217,7 +217,14 @@ class HelpPage extends React.PureComponent<Props, State> {
<td>{__('Connected Email')}</td>
<td>
{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>
<span className="empty">{__('none')} </span>

View file

@ -3,7 +3,7 @@ table.table,
word-wrap: break-word;
max-width: 100%;
text-align: left;
margin-top: $spacing-width;
margin-top: $spacing-vertical * 2/3;
tr td:first-of-type,
tr th:first-of-type {