Skip to content

Commit 751ef8c

Browse files
committed
Merge branch 'dev' into dev_banner_2701
2 parents 7b076db + f6c206f commit 751ef8c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/components/Records/Record/GeneralInfo/Maintainers.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
If you are affiliated with this project,
3838
</p>
3939

40-
<router-link
40+
<a
4141
v-if="!canClaim && !user().isLoggedIn"
42-
:to="`accounts/login?goTo=%2F${$route.params.id}`"
42+
:href="`${serverLink}accounts/login?goTo=%2F${$route.params.id}`"
4343
class="mr-1"
4444
>
4545
login
46-
</router-link>
46+
</a>
4747
<p
4848
v-if="!canClaim && !user().isLoggedIn"
4949
class="ma-0 mr-1"
@@ -111,7 +111,10 @@ export default {
111111
computed: {
112112
...mapGetters("record", ["getField"]),
113113
...mapState('users', ["user"]),
114-
...mapState('editor', ['recordTooltips'])
114+
...mapState('editor', ['recordTooltips']),
115+
serverLink: function () {
116+
return process.env.VUE_APP_HOSTNAME;
117+
}
115118
}
116119
}
117120
</script>

0 commit comments

Comments
 (0)