Disappearing Notification Badge

When things doesn't work as they should.
Post Reply
Krzysztof
Posts: 10
Joined: Wed Aug 22, 2018 11:28 am

Disappearing Notification Badge

Post by Krzysztof » Fri Mar 15, 2019 5:16 pm

Hello all,

I have a problem with the notification badge on Mayan 3.1.9. As soon as Mayan is reloaded, the notification badge with the number appears for a fraction of a second and disappears when the page is loaded completely, only the bell icon remains. Mayan doesn't keep the notification badge permanently. On Android, Mayan doesn't show the bell icon - you need to know that it should be there to read the list of notifications. For now, I have no idea how to fix it. Please let me know if you know how to deal with it.

Code: Select all

<li class=""><a class="None     " data-apw-attribute="count" data-apw-interval="5000" data-apw-url="/api/notifications/?read=False" data-apw-callback="MayanAppClass.mayanNotificationBadge" href="/events/user/notifications/"><svg class="svg-inline--fa fa-bell fa-w-14 hidden-xs hidden-sm hidden-md" aria-hidden="true" data-prefix="fa" data-icon="bell" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M433.884 366.059C411.634 343.809 384 316.118 384 208c0-79.394-57.831-145.269-133.663-157.83A31.845 31.845 0 0 0 256 32c0-17.673-14.327-32-32-32s-32 14.327-32 32c0 6.75 2.095 13.008 5.663 18.17C121.831 62.731 64 128.606 64 208c0 108.118-27.643 135.809-49.893 158.059C-16.042 396.208 5.325 448 48.048 448H160c0 35.346 28.654 64 64 64s64-28.654 64-64h111.943c42.638 0 64.151-51.731 33.941-81.941zM224 472a8 8 0 0 1 0 16c-22.056 0-40-17.944-40-40h16c0 13.234 10.766 24 24 24z"></path></svg><!-- <i class="hidden-xs hidden-sm hidden-md fa fa-bell"></i> --></a></li>
Regards,
Krzysztof

Post Reply