mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Remove: client-only wrappers
This commit is contained in:
parent
d62be2b0fb
commit
4c344ee4ad
@ -10,10 +10,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-if="connections && connections.length <= 7">
|
<template v-if="connections && connections.length <= 7">
|
||||||
<ds-space v-for="connection in connections" :key="connection.id" margin="x-small">
|
<ds-space v-for="connection in connections" :key="connection.id" margin="x-small">
|
||||||
<!-- TODO: find better solution for rendering errors -->
|
|
||||||
<client-only>
|
|
||||||
<user-teaser :user="connection" />
|
<user-teaser :user="connection" />
|
||||||
</client-only>
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-space v-if="allConnectionsCount - connections.length" margin="small">
|
<ds-space v-if="allConnectionsCount - connections.length" margin="small">
|
||||||
<base-button
|
<base-button
|
||||||
@ -33,9 +30,7 @@
|
|||||||
<template v-else-if="connections.length > 7">
|
<template v-else-if="connections.length > 7">
|
||||||
<div class="overflow-container">
|
<div class="overflow-container">
|
||||||
<ds-space v-for="connection in filteredConnections" :key="connection.id" margin="x-small">
|
<ds-space v-for="connection in filteredConnections" :key="connection.id" margin="x-small">
|
||||||
<client-only>
|
|
||||||
<user-teaser :user="connection" />
|
<user-teaser :user="connection" />
|
||||||
</client-only>
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
</div>
|
</div>
|
||||||
<ds-space margin="x-small">
|
<ds-space margin="x-small">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user