Use .value for computed prop

This commit is contained in:
James Lyne 2021-05-26 18:49:34 +01:00
parent a05cfde9d7
commit 364b765dd6

View File

@ -75,7 +75,7 @@ export default defineComponent({
followActive = computed(() => { followActive = computed(() => {
//Show following alongside playerlist on small screens //Show following alongside playerlist on small screens
return (!smallScreen.value && following) return (!smallScreen.value && following.value)
|| (smallScreen.value && currentlyVisible.value.has('players')); || (smallScreen.value && currentlyVisible.value.has('players'));
}); });