perf: add in-memory caching layer for API responses and remove debug console log in notification component

This commit is contained in:
2025-12-07 22:18:28 +00:00
parent 63b2ad8440
commit 50933050b5
2 changed files with 58 additions and 32 deletions
-1
View File
@@ -173,7 +173,6 @@ class NotificationItem extends BaseComponent {
const notif = this.notifData;
const isUnread = notif.read === 0;
const typeLabel = this.getTypeLabel(notif.type);
console.info(notif);
const username = notif.username.name || notif.user_username.name || notif.name || 'Someone';
this.addClass('notification-item');