Improve debug for artist

This commit is contained in:
2018-01-14 03:32:26 +01:00
parent 9e81d42cb3
commit 66a1cd12e0
3 changed files with 27 additions and 2 deletions

View File

@@ -3,10 +3,14 @@
<div class="alert alert-warning">
<h3>Debug Zone</h3>
Returned song: {{songs.length}}<br />
Theorical song: {{ artist ? artist['Track Count'] : "" }}
Returned song:&emsp;{{songs.length}}<br />
Theorical song:&emsp;{{ artist ? artist['Track Count'] : "" }}
<span *ngIf="artist && (songs.length == artist['Track Count'])" class="glyphicon glyphicon-ok" style="color:green"></span>
<span *ngIf="artist && (songs.length != artist['Track Count'])" class="glyphicon glyphicon-remove" style="color:red"></span>
<br />
Artist song:&emsp;&emsp;&emsp;{{countSong}}
<span *ngIf="artist && (songs.length == countSong)" class="glyphicon glyphicon-ok" style="color:green"></span>
<span *ngIf="artist && (songs.length != countSong)" class="glyphicon glyphicon-remove" style="color:red"></span>
</div>
<div class="row cardAdmin">