Skip to content

Commit

Permalink
temp consolelog for ng2
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentMr committed Sep 27, 2024
1 parent bf6c04a commit c98d43d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frontend/src/components/header-view/HeaderView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ export const HeaderView: FC = () => {
const modificationHour = board.modificationDate.split(" ")[1];
const onClick = () => console.log("read clicked");

const currentAppConsole = () => {
console.log(currentApp);
return true;
};

const boardHasCards = (): boolean => {
return (
!!board.cardIds?.length ||
Expand All @@ -37,7 +42,9 @@ export const HeaderView: FC = () => {
<AppHeader className="header-view">
<Box sx={mainWrapperStyle}>
<Box sx={wrapperBoxStyle}>
{currentApp && <Breadcrumb app={currentApp} name={board?.title} />}
{currentAppConsole() && currentApp && (
<Breadcrumb app={currentApp} name={board?.title} />
)}
<Box sx={leftWrapperStyle}>
<Box sx={toastStyle}>
<Icon path={mdiCheckCircle} size={1} />
Expand Down

0 comments on commit c98d43d

Please sign in to comment.