mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
Fix Notifications link on Home header triggering scroll-to-top
This commit is contained in:
parent
b69d9f3fa8
commit
f41ca129c2
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ export default ({ hidden }) => {
|
||||||
class={`button plain ${
|
class={`button plain ${
|
||||||
snapStates.notificationsNew.length > 0 ? 'has-badge' : ''
|
snapStates.notificationsNew.length > 0 ? 'has-badge' : ''
|
||||||
}`}
|
}`}
|
||||||
|
onClick={(e) => {
|
||||||
|
e.stopPropagation();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Icon icon="notification" size="l" alt="Notifications" />
|
<Icon icon="notification" size="l" alt="Notifications" />
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue