feat: caching of search tabs already loaded

This commit is contained in:
Roberto Tonino
2020-09-17 18:11:41 +02:00
parent 139ef91b6e
commit 2eec8a5c3f
4 changed files with 60 additions and 100 deletions

View File

@@ -1,6 +1,6 @@
import { socket } from '@/utils/socket'
function sendAddToQueue(url, bitrate = null) {
export function sendAddToQueue(url, bitrate = null) {
if (!url) return
socket.emit('addToQueue', { url, bitrate }, () => {})