mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix: finish naming conventions
This commit is contained in:
parent
e516ae93a7
commit
f69e7e42de
@ -8,32 +8,27 @@
|
|||||||
<template v-else>
|
<template v-else>
|
||||||
<p class="no-connections">{{ userName }} {{ $t(`profile.network.${type}Nobody`) }}</p>
|
<p class="no-connections">{{ userName }} {{ $t(`profile.network.${type}Nobody`) }}</p>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="this.connections && this.connections.length <= 7">
|
<template v-if="connections && connections.length <= 7">
|
||||||
<ds-space v-for="follow in uniq(this.connections)" :key="follow.id" margin="x-small">
|
<ds-space v-for="follow in uniq(connections)" :key="follow.id" margin="x-small">
|
||||||
<!-- TODO: find better solution for rendering errors -->
|
<!-- TODO: find better solution for rendering errors -->
|
||||||
<client-only>
|
<client-only>
|
||||||
<user-teaser :user="follow" />
|
<user-teaser :user="follow" />
|
||||||
</client-only>
|
</client-only>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-space v-if="this.allConnectionsCount - this.connections.length" margin="small">
|
<ds-space v-if="allConnectionsCount - connections.length" margin="small">
|
||||||
<base-button
|
<base-button @click="fetchConnections" :loading="isLoading" size="small" color="softer">
|
||||||
@click="fetchConnections"
|
|
||||||
:loading="this.isLoading"
|
|
||||||
size="small"
|
|
||||||
color="softer"
|
|
||||||
>
|
|
||||||
{{
|
{{
|
||||||
$t('profile.network.andMore', {
|
$t('profile.network.andMore', {
|
||||||
number: this.allConnectionsCount - this.connections.length,
|
number: allConnectionsCount - connections.length,
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
</base-button>
|
</base-button>
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="this.connections.length > 7">
|
<template v-else-if="connections.length > 7">
|
||||||
<div class="overflow-container">
|
<div class="overflow-container">
|
||||||
<ds-space
|
<ds-space
|
||||||
v-for="follow in uniq(this.filteredConnections)"
|
v-for="follow in uniq(filteredConnections)"
|
||||||
:key="follow.id"
|
:key="follow.id"
|
||||||
margin="x-small"
|
margin="x-small"
|
||||||
>
|
>
|
||||||
@ -138,7 +133,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.hc-connections {
|
.follow-list {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 424px;
|
max-height: 424px;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user