mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
wrap create-post link around button on user profile
This commit is contained in:
parent
cc38fa2b0a
commit
5d2af860db
@ -215,19 +215,21 @@
|
|||||||
|
|
||||||
<ds-grid-item :row-span="2" column-span="fullWidth">
|
<ds-grid-item :row-span="2" column-span="fullWidth">
|
||||||
<ds-space centered>
|
<ds-space centered>
|
||||||
<base-button
|
<nuxt-link :to="{ name: 'post-create' }">
|
||||||
v-if="myProfile"
|
<base-button
|
||||||
v-tooltip="{
|
v-if="myProfile"
|
||||||
content: $t('contribution.newPost'),
|
v-tooltip="{
|
||||||
placement: 'left',
|
content: $t('contribution.newPost'),
|
||||||
delay: { show: 500 },
|
placement: 'left',
|
||||||
}"
|
delay: { show: 500 },
|
||||||
:path="{ name: 'post-create' }"
|
}"
|
||||||
class="profile-post-add-button"
|
:path="{ name: 'post-create' }"
|
||||||
icon="plus"
|
class="profile-post-add-button"
|
||||||
circle
|
icon="plus"
|
||||||
primary
|
circle
|
||||||
/>
|
primary
|
||||||
|
/>
|
||||||
|
</nuxt-link>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</ds-grid-item>
|
</ds-grid-item>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user