Merge branch '835-stats-hidden' into 'master'

Fix #835: Hide pod statistics on about page if those are disabled

See merge request funkwhale/funkwhale!780
This commit is contained in:
Eliot Berriot 2019-06-11 10:03:58 +02:00
commit 0170b4f036
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Hide pod statistics on about page if those are disabled (#835)

View File

@ -1,6 +1,6 @@
<template>
<div>
<div v-if="stats" class="ui stackable two column grid">
<div v-if="stats && stats.trackFavorites !== undefined" class="ui stackable two column grid">
<div class="column">
<h3 class="ui left aligned header">
<translate translate-context="Content/About/Title/Noun">User activity</translate>