Skip to content

Commit

Permalink
fix: Merge pull request #357 from UniversalDataTool/fix/dataset-leavi…
Browse files Browse the repository at this point in the history
…ng-unsaved

Header github button doesn't make you navigate away from your dataset
  • Loading branch information
seveibar committed Oct 29, 2020
2 parents ffa7d10 + c69bbc3 commit 02fb62e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/HeaderToolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const HeaderToolbar = ({
))}
</Tabs>
)}
{authProvider !== "none" && isWelcomePage && !isLoggedIn && (
{authProvider !== "none" && !isLoggedIn && (
<Button
onClick={() => {
changeLoginDrawerOpen(true)
Expand All @@ -173,6 +173,7 @@ const HeaderToolbar = ({
<IconButton
href="https://github.com/UniversalDataTool/universal-data-tool"
className={c.headerButton}
target="_blank"
>
<GithubIcon />
</IconButton>
Expand Down

0 comments on commit 02fb62e

Please sign in to comment.