Skip to content

Commit

Permalink
Fix breadcrumb showing unit number as null (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
LWest001 authored Nov 22, 2023
1 parent e9d643a commit 322aac5
Show file tree
Hide file tree
Showing 2 changed files with 14,753 additions and 10,415 deletions.
2 changes: 1 addition & 1 deletion frontend/front/src/hooks/breadcrumbHooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const useGoToBreadcrumb = () => {
case "home":
url = `/admin/home/homeProfile/${data?.id}`;
description = `${data?.street_number} ${data?.street_name} ${
data?.unit_number && "#" + data.unit_number
data?.unit_number ? "#" + data.unit_number : ""
}`;
break;
case "user":
Expand Down
Loading

0 comments on commit 322aac5

Please sign in to comment.