Frontend: Different icon for already-renoted buttons
ci/woodpecker/push/ociImagePush Pipeline was successful Details

This commit is contained in:
Natty 2023-09-30 21:31:00 +02:00
parent df275de905
commit 98c5bcb4c4
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 7 additions and 1 deletions

View File

@ -7,7 +7,13 @@
:class="{ renoted: hasRenotedBefore }" :class="{ renoted: hasRenotedBefore }"
@click="renote(false, $event)" @click="renote(false, $event)"
> >
<i class="ph-repeat ph-bold ph-lg"></i> <i
class="ph-bold ph-lg"
:class="{
'ph-repeat': !hasRenotedBefore,
'ph-repeat-once': hasRenotedBefore,
}"
></i>
<p v-if="count > 0 && !detailedView" class="count">{{ count }}</p> <p v-if="count > 0 && !detailedView" class="count">{{ count }}</p>
</button> </button>
<button v-else class="eddddedb _button"> <button v-else class="eddddedb _button">