Skip to content

Commit

Permalink
fix: one more link
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalsolon committed Jan 18, 2024
1 parent 86d32b3 commit 5cf8f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/LandingPageContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
import { defineComponent } from 'vue';
import { mapState } from 'vuex';
import LandingPageAnimation from './LandingPageAnimation.vue';
import { hasJWT } from './lib';
import { hasJWT, hasAuth } from './lib';
export default defineComponent({
components: {
LandingPageAnimation: LandingPageAnimation,
Expand All @@ -112,7 +112,7 @@ export default defineComponent({
window.open(`https://brainlife.io/docs/using_ezBIDS/`);
},
onClickGetStarted() {
if (hasJWT()) {
if (!hasAuth() || hasJWT()) {
this.$router.push('/convert');
return;
}
Expand Down

0 comments on commit 5cf8f5a

Please sign in to comment.