Skip to content

Commit

Permalink
Fix [Breadcrumbs] page crash when project list is not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
ilan7empest committed Nov 18, 2023
1 parent 3e05eef commit 44ef777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/Breadcrumbs/Breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const Breadcrumbs = ({ onClick, projectStore, fetchProjectsNames }) => {
searchValue
? projectListRef.current.scrollTo({ top: 0, left: 0, behavior: 'smooth' })
: setTimeout(() => {
selectedOptionEl.scrollIntoView(
selectedOptionEl?.scrollIntoView(
{
behavior: 'smooth',
block: 'center'
Expand Down
1 change: 1 addition & 0 deletions src/elements/TableLinkCell/tableLinkCell.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
font-family: Roboto, sans-serif;
font-style: normal;
margin-top: 5px;
width: max-content;

& > span {
margin-right: 10px;
Expand Down

0 comments on commit 44ef777

Please sign in to comment.