Fix #637: greyed tracks in radio builder and detail page

This commit is contained in:
Eliot Berriot 2019-01-02 15:57:54 +01:00
parent 657311c316
commit b58f3e1440
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
5 changed files with 18 additions and 8 deletions

View file

@ -77,7 +77,7 @@
</builder-filter>
</tbody>
</table>
<template v-if="checkResult">
<template v-if="checkResult && checkResult.candidates && checkResult.candidates.count">
<h3
class="ui header"
v-translate="{count: checkResult.candidates.count}"
@ -85,7 +85,7 @@
translate-plural="%{ count } tracks matching combined filters">
%{ count } track matching combined filters
</h3>
<track-table v-if="checkResult.candidates.sample" :tracks="checkResult.candidates.sample"></track-table>
<track-table v-if="checkResult.candidates.sample" :tracks="checkResult.candidates.sample" :playable="true"></track-table>
</template>
</section>
</div>