Changelog: Was ist neu? nur für normale User
This commit is contained in:
@@ -1300,7 +1300,7 @@ function Dashboard({ toast, mobile, setActive, unreadMsgs=0, unreadBoard=0, unre
|
||||
<div>
|
||||
<div style={{ display:'flex', alignItems:'center', gap:10 }}>
|
||||
<h1 style={{ color:'#fff', fontFamily:"'Space Mono',monospace", fontSize:mobile ? 17 : 22, margin:0 }}>Dashboard</h1>
|
||||
{unreadChangelog > 0 && (
|
||||
{unreadChangelog > 0 && user?.role !== 'admin' && (
|
||||
<button onClick={()=>setShowChangelog(true)} style={{
|
||||
background:'linear-gradient(135deg,rgba(78,205,196,0.15),rgba(78,205,196,0.05))',
|
||||
border:'1px solid rgba(78,205,196,0.3)', borderRadius:20,
|
||||
|
||||
Reference in New Issue
Block a user