From f8d51b488276dd61cc194f9f4687705b9d87567a Mon Sep 17 00:00:00 2001 From: igorrCarvalho Date: Thu, 24 Aug 2023 14:29:24 -0300 Subject: [PATCH] Refactor: Move header login buttons to right side of flow name --- .gitattributes | 3 ++- src/frontend/src/components/headerComponent/index.tsx | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6b24f77b9..19bd1f10f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,4 +21,5 @@ *.mp4 binary *.svg binary *.ico binary -*.gif binary \ No newline at end of file +*.gif binary +*.csv binary \ No newline at end of file diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 31729855f..6b50313c4 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -27,6 +27,10 @@ export default function Header(): JSX.Element { ⛓️ + + {flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && ( + + )} {location.pathname === "/admin" && ( )} - - {flows.findIndex((f) => tabId === f.id) !== -1 && tabId !== "" && ( - - )}