fix SdM
share link
This commit is contained in:
@@ -41,7 +41,7 @@ export default defineComponent({
|
||||
},
|
||||
props: {
|
||||
},
|
||||
setup() {
|
||||
setup(props) {
|
||||
const userStore = useUserStore()
|
||||
const globalStore = useGlobalStore()
|
||||
const $route = useRoute()
|
||||
@@ -173,6 +173,13 @@ export default defineComponent({
|
||||
return username === userStore.my.username
|
||||
}
|
||||
|
||||
function getlinkpage() {
|
||||
if (myuser.value)
|
||||
return self.location.host + '/attivita/' + myuser.value.username
|
||||
else
|
||||
return ''
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
@@ -204,6 +211,7 @@ export default defineComponent({
|
||||
site,
|
||||
listcircuitsfiltered,
|
||||
optionsMainCards,
|
||||
getlinkpage,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<CContactUser :myuser="myuser" :showBtnActivities="false"/>
|
||||
<CContactUser :myuser="myuser" :showBtnActivities="false" />
|
||||
|
||||
<CTitleBanner
|
||||
v-if="site.confpages.showCompetenze"
|
||||
@@ -149,7 +149,19 @@
|
||||
<q-dialog v-model="showPic" full-height full-width>
|
||||
<img :src="getImgUser()" :alt="username" class="full-width" />
|
||||
</q-dialog>
|
||||
|
||||
<q-page-sticky
|
||||
position="top-right"
|
||||
:offset="[18, 18]"
|
||||
>
|
||||
<q-btn
|
||||
fab
|
||||
glossy
|
||||
class="semi-transparent"
|
||||
icon="fas fa-link"
|
||||
color="primary"
|
||||
@click="tools.copyToClip($q, getlinkpage(), true)"
|
||||
/>
|
||||
</q-page-sticky>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user