Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGuarnaccia5 committed Nov 16, 2023
1 parent 9d885f6 commit c53efea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/app.types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ export interface CatalogueCategory {

export interface AddManufacturer {
name: string;
url?: string;
url?: string | null;
address: AddAddress;
telephone?: string | null;
}

export interface EditManufacturer {
name?: string;
url?: string;
url?: string | null;
address?: EditAddress;
telephone?: string | null;
id?: string | null;
}

export interface ManufacturerDetails {
name: string;
url?: string;
url?: string | null;
address: AddAddress;
telephone: string | null;
}
Expand Down
8 changes: 5 additions & 3 deletions src/manufacturer/manufacturer.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ function ManufacturerComponent() {
borderRight: '1px solid #e0e0e0',
}}
>
<Link underline="hover" href={item.url}>
{item.url}
</Link>
{item.url && (
<Link underline="hover" href={item.url}>
{item.url}
</Link>
)}
</TableCell>
<TableCell
sx={{
Expand Down

0 comments on commit c53efea

Please sign in to comment.