Only try search for torrents if admin
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user