File tree Expand file tree Collapse file tree
src/components/Records/Record/GeneralInfo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments