Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
38a9a27551
commit
740e320fc7
@@ -234,10 +234,18 @@ function CollectionsIndexPage() {
|
||||
params={{ collectionId: r.id }}
|
||||
className="hover:underline"
|
||||
>
|
||||
{r.homeowner?.last_name}, {r.homeowner?.first_name}
|
||||
{r.homeowner?.unit_number && (
|
||||
<span className="text-muted-foreground font-normal ml-1">
|
||||
· Unit {r.homeowner.unit_number}
|
||||
{r.homeowner ? (
|
||||
<>
|
||||
{r.homeowner.last_name}, {r.homeowner.first_name}
|
||||
{r.homeowner.unit_number && (
|
||||
<span className="text-muted-foreground font-normal ml-1">
|
||||
· Unit {r.homeowner.unit_number}
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<span className="italic text-muted-foreground">
|
||||
{(r as any).name || "Unassigned"}
|
||||
</span>
|
||||
)}
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user