Only try search for torrents if admin

This commit is contained in:
2019-06-28 20:53:02 +02:00
parent 6920877bfc
commit 36cb31462f

View File

@@ -74,8 +74,9 @@ export default {
} }
}, },
beforeMount() { beforeMount() {
console.log('starting torrent search with:', this.query, this.tmdb_id) if (localStorage.getItem('admin')) {
this.fetchTorrents() this.fetchTorrents()
}
}, },
methods: { methods: {
expand(event, name) { expand(event, name) {