2018-03-17 18:26:18 +05:30
|
|
|
<script>
|
2018-05-09 12:01:36 +05:30
|
|
|
import { mapGetters } from 'vuex';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
export default {
|
|
|
|
computed: {
|
|
|
|
...mapGetters(['getNotesDataByProp']),
|
|
|
|
registerLink() {
|
|
|
|
return this.getNotesDataByProp('registerPath');
|
2018-03-17 18:26:18 +05:30
|
|
|
},
|
2018-05-09 12:01:36 +05:30
|
|
|
signInLink() {
|
|
|
|
return this.getNotesDataByProp('newSessionPath');
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
2018-03-17 18:26:18 +05:30
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="disabled-comment text-center">
|
|
|
|
Please
|
|
|
|
<a :href="registerLink">register</a>
|
|
|
|
or
|
|
|
|
<a :href="signInLink">sign in</a>
|
|
|
|
to reply
|
|
|
|
</div>
|
|
|
|
</template>
|