chore: switched to v1.5.2; chore: removed default export for sendAddToQueue utility

This commit is contained in:
Roberto Tonino
2020-11-28 20:18:35 +01:00
parent 919498f31c
commit cb756747bd
5 changed files with 18 additions and 14 deletions

View File

@@ -60,7 +60,7 @@
}
</style>
<script>
import Downloads from '@/utils/downloads'
import { sendAddToQueue } from '@/utils/downloads'
export default {
data: () => ({
@@ -80,7 +80,7 @@ export default {
// If true, the click did not happen on a button but outside
if (!target.matches('.quality-button')) return
Downloads.sendAddToQueue(this.url, target.dataset.qualityValue)
sendAddToQueue(this.url, target.dataset.qualityValue)
},
openModal(link) {
this.url = link