We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3ddb5 commit 1f7891eCopy full SHA for 1f7891e
web/src/pages/Dashboard.tsx
@@ -280,7 +280,7 @@ export default function Dashboard() {
280
useEffect(() => {
281
if (!auth?.token) return;
282
apiFetch('/api/inbox?folder=inbox&limit=1', auth.token).then(r => r.json()).then(d => setSidebarUnread(d.unread || 0)).catch(() => {});
283
- apiFetch('/api/attention/config', auth.token).then(r => r.json()).then(d => setAttentionConfigured(!!d.enabled)).catch(() => setAttentionConfigured(true));
+ apiFetch('/api/attention/config', auth.token).then(r => r.json()).then(d => setAttentionConfigured(!!d.config?.enabled)).catch(() => setAttentionConfigured(true));
284
}, [auth?.token]);
285
286
// Auto-detect Basename upgrade for 0x handle users
0 commit comments