|
29 | 29 | <div class='q-pr-sm'>
|
30 | 30 | <q-checkbox
|
31 | 31 | :model-value="selected.includes(match)"
|
32 |
| - @update:model-value="(v) => toggleMatch(match)" |
| 32 | + @update:model-value="(v: any) => toggleMatch(match)" |
33 | 33 | ></q-checkbox>
|
34 | 34 | </div>
|
35 | 35 | <!-- Open URL -->
|
|
58 | 58 | <span class='q-px-sm' :class='accuracyColor(match.accuracy)'><span class='text-subtitle3'>{{ (match.accuracy * 100.0).toFixed(2) }}%</span></span>
|
59 | 59 | <span v-if='match.reason != "fuzzy"'>{{ match.reason.toUpperCase() }}</span>
|
60 | 60 | </q-item-label>
|
61 |
| - <q-item-label class='title-span text-grey-6 text-weight-medium'>{{ match.track.artists.join(", ") }} <span class='text-grey-4 text-weight-medium'> {{ match.track.title }}</span><span class='text-grey-4' v-if='match.track.version'> ({{ match.track.version }})</span></q-item-label> |
62 |
| - <q-item-label class='text-grey-6' v-if='match.track.album'><q-badge outline color='grey-9'><span class='text-uppercase text-grey-6'>Album</span></q-badge> <span class='text-caption text-weight-medium text-grey-5'>{{ match.track.album }}</span></q-item-label> |
| 61 | + <q-item-label class='title-span text-grey-6 text-weight-medium'>{{ match.track.artists.join(", ") }} |
| 62 | + <span class='text-grey-4 text-weight-medium'> {{ match.track.title }}</span> |
| 63 | + <span class='text-grey-4' v-if='match.track.version'> ({{ match.track.version }})</span> |
| 64 | + </q-item-label> |
| 65 | + <q-item-label class='text-grey-6' v-if='match.track.album'><q-badge outline color='grey-9'><span class='text-uppercase text-grey-6'>Album</span></q-badge> <span class='text-caption text-weight-medium text-grey-5'>{{ match.track.album }}</span></q-item-label> |
63 | 66 | <q-item-label class='text-grey-6'>
|
64 |
| - <span v-if='match.track.genres.length > 0'><q-badge outline color='grey-9'><span class='text-uppercase text-grey-6'>Genre</span></q-badge> <span class='text-caption text-weight-bold text-grey-4'>{{ match.track.genres.join(", ") }}</span></span> |
65 |
| - <span v-if='match.track.bpm'> <q-badge outline color='grey-9'><span class='text-uppercase text-grey-6'>BPM</span></q-badge> <span class='text-caption monospace text-weight-medium text-grey-4'>{{ match.track.bpm }}</span></span> |
66 |
| - <span v-if='match.track.key'> <q-badge outline color='grey-9'><span class='text-uppercase text-grey-6'>Key</span></q-badge> <span class='text-caption monospace text-weight-medium' :style='keyColor(match.track.key)'>{{ match.track.key }}</span></span> |
| 67 | + <span v-if='match.track.genres.length > 0'> |
| 68 | + <q-badge outline color='grey-9' class='q-mr-xs'><span class='text-uppercase text-grey-6'>Genre</span></q-badge> |
| 69 | + <span class='text-caption text-weight-bold text-grey-4'>{{ match.track.genres.join(", ") }}</span> |
| 70 | + </span> |
| 71 | + <span v-if='match.track.bpm'> |
| 72 | + <q-badge outline color='grey-9' class='q-mx-xs'><span class='text-uppercase text-grey-6'>BPM</span></q-badge> |
| 73 | + <span class='text-caption monospace text-weight-medium text-grey-4'>{{ match.track.bpm }}</span> |
| 74 | + </span> |
| 75 | + <span v-if='match.track.key'> |
| 76 | + <q-badge outline color='grey-9' class='q-mx-xs'><span class='text-uppercase text-grey-6'>Key</span></q-badge> |
| 77 | + <span class='text-caption monospace text-weight-medium' :style='keyColor(match.track.key)'>{{ match.track.key }}</span> |
| 78 | + </span> |
| 79 | + <br> |
| 80 | + <span v-if='match.track.release_date'> |
| 81 | + <q-badge outline color='grey-9' class='q-mr-xs'><span class='text-uppercase text-grey-6'>Release Date</span></q-badge> |
| 82 | + <span class='text-caption monospace text-weight-medium text-grey-4'>{{ match.track.release_date }}</span> |
| 83 | + </span> |
67 | 84 | </q-item-label>
|
68 | 85 | </q-item-section>
|
69 | 86 | </q-item>
|
|
0 commit comments