mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-12 06:30:37 +00:00
Added version count indicator
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<input type="checkbox">
|
||||
</div>
|
||||
</td>
|
||||
<td>{{result.name}}</td>
|
||||
<td><span id="versionCount" *ngIf="result.versionCount > 1">{{result.versionCount}}</span>{{result.name}}</td>
|
||||
<td>{{result.artist}}</td>
|
||||
<td>{{result.album}}</td>
|
||||
<td>{{result.genre}}</td>
|
||||
@@ -1,3 +1,10 @@
|
||||
.ui.checkbox {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#versionCount {
|
||||
background-color: lightgray;
|
||||
border-radius: 3px;
|
||||
padding: 1px 4px 2px 4px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
@@ -20,6 +20,7 @@ export enum SearchType {
|
||||
*/
|
||||
export interface SongResult {
|
||||
id: number
|
||||
versionCount: number
|
||||
name: string
|
||||
artist: string
|
||||
album: string
|
||||
|
||||
Reference in New Issue
Block a user