Added author location to quick user preview

This commit is contained in:
Grzegorz Leoniec 2019-01-05 13:43:20 +01:00
parent 662589e995
commit c156bcedc9
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
5 changed files with 28 additions and 2 deletions

View File

@ -54,9 +54,20 @@
<hc-badges
v-if="author.badges && author.badges.length"
:badges="author.badges"
style="margin-bottom: -10px"
/>
<ds-flex>
<ds-text
v-if="author.location"
align="center"
color="soft"
size="small"
style="margin-top: 5px"
bold
>
<ds-icon name="map-marker" /> {{ author.location.name }}
</ds-text>
<ds-flex
style="margin-top: -10px"
>
<ds-flex-item class="ds-tab-nav-item">
<ds-space margin="small">
<ds-number

View File

@ -70,6 +70,9 @@ export default gql(`
id
avatar
name
location {
name
}
}
}
}

View File

@ -97,6 +97,9 @@ export default {
shoutedCount
commentsCount
followedByCount
location {
name
}
badges {
id
key

View File

@ -161,6 +161,9 @@ export default {
contributionsCount
commentsCount
followedByCount
location {
name
}
badges {
id
key
@ -185,6 +188,9 @@ export default {
contributionsCount
commentsCount
followedByCount
location {
name
}
badges {
id
key

View File

@ -107,6 +107,9 @@ export default {
contributionsCount
followedByCount
commentsCount
location {
name
}
badges {
id
key