We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b076db + f6c206f commit 751ef8cCopy full SHA for 751ef8c
1 file changed
src/components/Records/Record/GeneralInfo/Maintainers.vue
@@ -37,13 +37,13 @@
37
If you are affiliated with this project,
38
</p>
39
40
- <router-link
+ <a
41
v-if="!canClaim && !user().isLoggedIn"
42
- :to="`accounts/login?goTo=%2F${$route.params.id}`"
+ :href="`${serverLink}accounts/login?goTo=%2F${$route.params.id}`"
43
class="mr-1"
44
>
45
login
46
- </router-link>
+ </a>
47
<p
48
49
class="ma-0 mr-1"
@@ -111,7 +111,10 @@ export default {
111
computed: {
112
...mapGetters("record", ["getField"]),
113
...mapState('users', ["user"]),
114
- ...mapState('editor', ['recordTooltips'])
+ ...mapState('editor', ['recordTooltips']),
115
+ serverLink: function () {
116
+ return process.env.VUE_APP_HOSTNAME;
117
+ }
118
}
119
120
</script>
0 commit comments