Frontend: Fix notification count of TRUE (#5391)

This commit is contained in:
syeopite 2025-08-23 03:25:12 -07:00
commit 15099ac1dd
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) {
function update_ticker_count() {
var notification_ticker = document.getElementById('notification_ticker');
const notification_count = helpers.storage.get(STORAGE_KEY_STREAM);
const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT) || 0;
if (notification_count > 0) {
notification_ticker.innerHTML =
'<span id="notification_count">' + notification_count + '</span> <i class="icon ion-ios-notifications"></i>';