Skip to content

Commit d8ce120

Browse files
committed
Merge branch 'dev' into vue3-migration-2492
2 parents d3ff507 + f6c206f commit d8ce120

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
If you are affiliated with this project,
3434
</p>
3535

36-
<router-link
36+
<a
3737
v-if="!canClaim && !user().isLoggedIn"
38-
:to="`accounts/login?goTo=%2F${$route.params.id}`"
38+
:href="`${serverLink}accounts/login?goTo=%2F${$route.params.id}`"
3939
class="mr-1"
4040
>
4141
login
42-
</router-link>
42+
</a>
4343
<p
4444
v-if="!canClaim && !user().isLoggedIn"
4545
class="ma-0 mr-1"
@@ -108,8 +108,11 @@ export default {
108108
},
109109
computed: {
110110
...mapGetters("record", ["getField"]),
111-
...mapState("users", ["user"]),
112-
...mapState("editor", ["recordTooltips"]),
113-
},
114-
};
111+
...mapState('users', ["user"]),
112+
...mapState('editor', ['recordTooltips']),
113+
serverLink: function () {
114+
return process.env.VUE_APP_HOSTNAME;
115+
}
116+
}
117+
}
115118
</script>

0 commit comments

Comments
 (0)