Display note in user profile

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1719/head
Louis Chemineau 2023-04-06 16:09:50 +02:00
rodzic 9aaa59f22a
commit aea7cebcbe
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -57,6 +57,9 @@
{{ t('social', 'Website') }}: <a :href="website.value">{{ website.value }}<OpenInNew :size="15" /></a>
</p>
<!-- Hack to render note safely -->
<MessageContent v-if="accountInfo.note" class="user-profile__note" :item="{content: accountInfo.note, tag: [], mentions: []}" />
<FollowButton class="user-profile__info" :account="accountInfo.acct" :uid="uid" />
<NcButton v-if="serverData.public"
class="user-profile__info primary"
@ -158,6 +161,10 @@ export default {
}
&__note {
text-align: start;
}
&__sections {
display: flex;