Fixed #459: audio mimetype not showing up on track detail and list

This commit is contained in:
Eliot Berriot 2018-07-27 18:18:10 +02:00
parent 9ab3b8b289
commit bf21f90c2b
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
3 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1 @@
Fixed audio mimetype not showing up on track detail and list (#459)

View File

@ -87,6 +87,17 @@
<translate>N/A</translate>
</td>
</tr>
<tr>
<td>
<translate>Type</translate>
</td>
<td v-if="file.mimetype">
{{ file.mimetype }}
</td>
<td v-else>
<translate>N/A</translate>
</td>
</tr>
</tbody>
</table>
</div>

View File

@ -57,8 +57,8 @@
<td>
<human-date :date="scope.obj.creation_date"></human-date>
</td>
<td v-if="scope.obj.audio_mimetype">
{{ scope.obj.audio_mimetype }}
<td v-if="scope.obj.mimetype">
{{ scope.obj.mimetype }}
</td>
<td v-else>
<translate>N/A</translate>