mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
refactor(client): improve readability
This commit is contained in:
parent
5c63700d45
commit
aefea21d6e
@ -1,8 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<button
|
<button v-if="canRenote"
|
||||||
class="eddddedb _button canRenote"
|
class="eddddedb _button canRenote"
|
||||||
@click="renote()"
|
@click="renote()"
|
||||||
v-if="canRenote"
|
|
||||||
@touchstart.passive="onMouseover"
|
@touchstart.passive="onMouseover"
|
||||||
@mouseover="onMouseover"
|
@mouseover="onMouseover"
|
||||||
@mouseleave="onMouseleave"
|
@mouseleave="onMouseleave"
|
||||||
@ -12,10 +11,7 @@
|
|||||||
<i class="fas fa-retweet"></i>
|
<i class="fas fa-retweet"></i>
|
||||||
<p class="count" v-if="count > 0">{{ count }}</p>
|
<p class="count" v-if="count > 0">{{ count }}</p>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button v-else class="eddddedb _button">
|
||||||
v-else
|
|
||||||
class="button _button"
|
|
||||||
>
|
|
||||||
<i class="fas fa-ban"></i>
|
<i class="fas fa-ban"></i>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user