tangled
alpha
login
or
join now
bad-example.com
/
spacedust-utils
6
fork
atom
demos for spacedust
6
fork
atom
overview
issues
pulls
pipelines
link /early from badge and fix notifs
bad-example.com
8 months ago
5f7093dd
70b8fb17
+3
-1
2 changed files
expand all
collapse all
unified
split
atproto-notifications
src
components
Notification.tsx
setup
Chrome.tsx
+1
-1
atproto-notifications/src/components/Notification.tsx
···
33
34
directLink = lex
35
?.clients[0]
36
-
?.direct_links[`did:${sourceRemainder}`]
37
?.replace('{subject.did}', subject)
38
?.replace('{source_record.did}', sDid)
39
?.replace('{source_record.collection}', sCollection)
···
33
34
directLink = lex
35
?.clients[0]
36
+
?.direct_links?.[`did:${sourceRemainder}`]
37
?.replace('{subject.did}', subject)
38
?.replace('{source_record.did}', sDid)
39
?.replace('{source_record.collection}', sCollection)
+2
atproto-notifications/src/components/setup/Chrome.tsx
···
22
<span className="chrome-role-tag">
23
{user.role === 'admin' ? (
24
<Link to="/admin" className="inherit-font">{user.role}</Link>
0
0
25
) : (
26
<>{user.role}</>
27
)}
···
22
<span className="chrome-role-tag">
23
{user.role === 'admin' ? (
24
<Link to="/admin" className="inherit-font">{user.role}</Link>
25
+
) : user.role === 'early' ? (
26
+
<Link to="/early" className="inherit-font">{user.role}</Link>
27
) : (
28
<>{user.role}</>
29
)}