fix: Nachrichten-Punkt fehlte im mobilen Apps-Menue

This commit is contained in:
2026-07-15 00:45:30 +02:00
parent c432fba7a2
commit 747111fef4

View File

@@ -373,7 +373,7 @@ function BottomNav({ active, setActive, user, onLogout, unreadMsgs=0, hexWarsTur
</button> </button>
{!isGrpCollapsed && tools.map(t => ( {!isGrpCollapsed && tools.map(t => (
<MI key={t.id} Icon={t.Icon} <MI key={t.id} Icon={t.Icon}
label={t.label} dot={(t.id==='gebietseroberung' && hexWarsTurns>0) || (t.id==='whiteboard' && whiteboardUnread>0)} label={t.label} dot={(t.id==='gebietseroberung' && hexWarsTurns>0) || (t.id==='whiteboard' && whiteboardUnread>0) || (t.id==='nachrichten' && unreadMsgs>0)}
onClick={() => { setActive(t.id); setAppsOpen(false); }} /> onClick={() => { setActive(t.id); setAppsOpen(false); }} />
))} ))}
</div> </div>