Skip to content

Commit

Permalink
Added counter on download button
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBelizario committed Apr 21, 2022
1 parent d41292a commit 3a35240
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/MusicList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@
<q-btn
outline
color="primary"
label="Download"
:disabled="track.selected.length === 0"
@click="download"
/>
>
Download
{{ track.selected.length > 0 ? `(${track.selected.length})` : '' }}
</q-btn>
</template>
</q-table>
</template>
Expand Down

0 comments on commit 3a35240

Please sign in to comment.