1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

🐛 Fix owner not displaying in summaries

This commit is contained in:
Stefano Pigozzi 2021-05-11 18:35:44 +02:00
parent 312ce7a208
commit 8d3d7afa3d
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -82,7 +82,7 @@ export default function SummaryRepository(
<Summary <Summary
icon={repo.is_active ? faFolderOpen : faFolder} icon={repo.is_active ? faFolderOpen : faFolder}
title={repo.name} title={repo.name}
subtitle={repo.author} subtitle={repo.owner ? repo.owner.username : null}
upperLabel={"Start"} upperLabel={"Start"}
upperValue={repo.start ? new Date(repo.start).toLocaleString() : null} upperValue={repo.start ? new Date(repo.start).toLocaleString() : null}
lowerLabel={"End"} lowerLabel={"End"}