mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Refactor: apply vuejs styleguide attribute order
This commit is contained in:
parent
daa88168bb
commit
8e985703bd
@ -7,18 +7,18 @@
|
|||||||
<div :class="connectionsClass">
|
<div :class="connectionsClass">
|
||||||
<user-teaser
|
<user-teaser
|
||||||
v-for="connection in filteredConnections"
|
v-for="connection in filteredConnections"
|
||||||
class="spacer-x-small"
|
|
||||||
:user="connection"
|
:user="connection"
|
||||||
:key="connection.id"
|
:key="connection.id"
|
||||||
|
class="spacer-x-small"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<base-button
|
<base-button
|
||||||
v-if="allConnectionsCount - connections.length"
|
v-if="allConnectionsCount - connections.length"
|
||||||
@click="$emit('fetchAllConnections', type)"
|
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
size="small"
|
size="small"
|
||||||
color="softer"
|
color="softer"
|
||||||
class="spacer-x-small"
|
class="spacer-x-small"
|
||||||
|
@click="$emit('fetchAllConnections', type)"
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
$t('profile.network.andMore', {
|
$t('profile.network.andMore', {
|
||||||
@ -28,13 +28,13 @@
|
|||||||
</base-button>
|
</base-button>
|
||||||
<ds-input
|
<ds-input
|
||||||
v-if="connections.length > 7"
|
v-if="connections.length > 7"
|
||||||
@input.native="setFilter"
|
|
||||||
:placeholder="filter"
|
|
||||||
v-focus="true"
|
v-focus="true"
|
||||||
|
:placeholder="filter"
|
||||||
size="small"
|
size="small"
|
||||||
icon="filter"
|
icon="filter"
|
||||||
:name="`${type}Filter`"
|
:name="`${type}Filter`"
|
||||||
class="spacer-x-small"
|
class="spacer-x-small"
|
||||||
|
@input.native="setFilter"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<p v-else class="nobody-message">{{ userName }} {{ $t(`profile.network.${type}Nobody`) }}</p>
|
<p v-else class="nobody-message">{{ userName }} {{ $t(`profile.network.${type}Nobody`) }}</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user