mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Sites Display
This commit is contained in:
@@ -11,7 +11,12 @@ export default function Sites({ id, name, description, networks }: SitesProps) {
|
||||
<div className="card-body">
|
||||
<h2 className="card-title">{name}</h2>
|
||||
<p>{description}</p>
|
||||
<p>Networks: {networks.join(', ')}</p>
|
||||
{ networks && networks.length > 0 && (
|
||||
<p>Networks: {networks.join(', ')}</p>
|
||||
)}
|
||||
<div className="card-actions justify-end">
|
||||
<button className="btn btn-secondary btn-sm btn-outline">View</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user