Only try search for torrents if admin
This commit is contained in:
@@ -74,8 +74,9 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
console.log('starting torrent search with:', this.query, this.tmdb_id)
|
||||
if (localStorage.getItem('admin')) {
|
||||
this.fetchTorrents()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
expand(event, name) {
|
||||
|
||||
Reference in New Issue
Block a user