Merge branch 'login' into bugfix-msgSuccess
This commit is contained in:
commit
544738ebef
1 changed files with 4 additions and 4 deletions
|
|
@ -27,6 +27,10 @@ export default function Header(): JSX.Element {
|
|||
<Link to="/">
|
||||
<span className="ml-4 text-2xl">⛓️</span>
|
||||
</Link>
|
||||
|
||||
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
||||
<MenuBar flows={flows} tabId={tabId} />
|
||||
)}
|
||||
{location.pathname === "/admin" && (
|
||||
<Button
|
||||
onClick={() => {
|
||||
|
|
@ -56,10 +60,6 @@ export default function Header(): JSX.Element {
|
|||
Admin page
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && (
|
||||
<MenuBar flows={flows} tabId={tabId} />
|
||||
)}
|
||||
</div>
|
||||
<div className="round-button-div">
|
||||
<Link to="/">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue