Browse Source
Merge pull request #811 from mrfelton/fix/hide-expired-toggle-for-empty-wallet
fix(wallet): hide expired toggle for empty wallet
renovate/lint-staged-8.x
JimmyMow
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
11 deletions
-
app/components/Activity/Activity.js
|
|
@ -218,17 +218,18 @@ class Activity extends Component { |
|
|
|
</ul> |
|
|
|
</li> |
|
|
|
))} |
|
|
|
{showExpiredToggle && ( |
|
|
|
<li> |
|
|
|
<div className={styles.toggleExpired} onClick={toggleExpiredRequests}> |
|
|
|
{showExpiredRequests ? ( |
|
|
|
<FormattedMessage {...messages.hide_expired} /> |
|
|
|
) : ( |
|
|
|
<FormattedMessage {...messages.show_expired} /> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
)} |
|
|
|
{showExpiredToggle && |
|
|
|
currentActivity.length > 0 && ( |
|
|
|
<li> |
|
|
|
<div className={styles.toggleExpired} onClick={toggleExpiredRequests}> |
|
|
|
{showExpiredRequests ? ( |
|
|
|
<FormattedMessage {...messages.hide_expired} /> |
|
|
|
) : ( |
|
|
|
<FormattedMessage {...messages.show_expired} /> |
|
|
|
)} |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
)} |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|