Fix subscribe button
This commit is contained in:
parent
436a76928f
commit
2c364ce201
|
@ -24,8 +24,8 @@ const store = useStore()
|
||||||
|
|
||||||
const isSubscribed = computed(() => store.getters['channels/isSubscribed'](props.channel.uuid))
|
const isSubscribed = computed(() => store.getters['channels/isSubscribed'](props.channel.uuid))
|
||||||
const title = computed(() => isSubscribed.value
|
const title = computed(() => isSubscribed.value
|
||||||
? $pgettext('Content/Channel/Button/Verb', 'Subscribe')
|
? $pgettext('Content/Channel/Button/Verb', 'Unsubscribe')
|
||||||
: $pgettext('Content/Channel/Button/Verb', 'Unsubscribe')
|
: $pgettext('Content/Channel/Button/Verb', 'Subscribe')
|
||||||
)
|
)
|
||||||
|
|
||||||
const message = computed(() => ({
|
const message = computed(() => ({
|
||||||
|
|
Loading…
Reference in New Issue