fix(admin): add Curate button linking to Special curation page
This commit is contained in:
@@ -690,7 +690,7 @@ export default function AdminPage() {
|
|||||||
fontSize: '0.875rem'
|
fontSize: '0.875rem'
|
||||||
}}>
|
}}>
|
||||||
<span>{special.name} ({special._count?.songs || 0})</span>
|
<span>{special.name} ({special._count?.songs || 0})</span>
|
||||||
<button onClick={() => startEditSpecial(special)} className="btn-primary" style={{ marginRight: '0.5rem' }}>Edit</button>
|
<a href={`/admin/specials/${special.id}`} className="btn-primary" style={{ marginRight: '0.5rem', textDecoration: 'none' }}>Curate</a>
|
||||||
<button onClick={() => handleDeleteSpecial(special.id)} className="btn-danger">Delete</button>
|
<button onClick={() => handleDeleteSpecial(special.id)} className="btn-danger">Delete</button>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user