feat(ui): indicate subscribed state in subscribe button
This commit is contained in:
parent
69dd143486
commit
a8d5011796
|
@ -49,9 +49,9 @@ const loginModal = ref()
|
||||||
<template>
|
<template>
|
||||||
<Button
|
<Button
|
||||||
v-if="store.state.auth.authenticated"
|
v-if="store.state.auth.authenticated"
|
||||||
:class="['pink', {'inverted': isSubscribed}, {'favorited': isSubscribed}]"
|
:class="['pink', {'favorited': isSubscribed}]"
|
||||||
outline
|
outline
|
||||||
icon="bi-heart-fill"
|
:aria-pressed="isSubscribed || undefined"
|
||||||
@click.stop="toggle"
|
@click.stop="toggle"
|
||||||
>
|
>
|
||||||
{{ title }}
|
{{ title }}
|
||||||
|
|
Loading…
Reference in New Issue