Skip to content

Commit

Permalink
Added nevenadres
Browse files Browse the repository at this point in the history
  • Loading branch information
remyvdwereld committed Jun 6, 2024
1 parent 2b97937 commit 4189b12
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/app/components/search/SearchResults/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ import TableAction from "app/components/shared/TableAction/TableAction"
import to from "app/routing/utils/to"

const columns = [
{ header: "Adres", dataIndex: "adres", minWidth: 100 },
{
header: "Adres",
dataIndex: "adres",
minWidth: 100,
render: (adres: any, obj: any) => (
`${ adres } ${ obj.type_adres === "Nevenadres" ? "(Nevenadres)" : "" }`
)
},
{ header: "Postcode", dataIndex: "postcode", minWidth: 100 },
{
dataIndex: "adresseerbaar_object_id",
Expand Down

0 comments on commit 4189b12

Please sign in to comment.