Skip to content

Commit 67a644d

Browse files
authored
Merge pull request #8 from wells/v1.1.4-dev
v1.1.4 dev
2 parents 071b9cc + 3b4a016 commit 67a644d

6 files changed

Lines changed: 26 additions & 34 deletions

File tree

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/rev-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"css/app.css": "css/app-c6da92f35b.css",
3-
"js/app.js": "js/app-3a65e013a6.js"
3+
"js/app.js": "js/app-dcee74d813.js"
44
}

public/js/app.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/assets/js/components/Movies.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ export default {
7676
},
7777
7878
created: function () {
79-
this.loadingRoute()
79+
if(this.movies.length == 0) {
80+
this.loadingRoute()
81+
}
82+
8083
this.clearGenresFilter()
8184
this.fetchData()
8285
},
8386
8487
watch: {
85-
'$route': function () {
86-
this.loadingRoute()
87-
this.fetchData()
88-
},
89-
9088
'links': function () {
9189
let self = this
9290

resources/assets/js/components/Settings.vue

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,11 @@ export default {
7474
},
7575
7676
created: function () {
77-
this.loadingRoute()
78-
this.fetchData()
79-
},
80-
81-
watch: {
82-
'$route': function () {
77+
if(!this.settings) {
8378
this.loadingRoute()
84-
this.fetchData()
8579
}
80+
81+
this.fetchData()
8682
},
8783
8884
methods: {

resources/assets/js/components/Shows.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ export default {
7676
},
7777
7878
created: function () {
79-
this.loadingRoute()
79+
if(this.shows.length == 0) {
80+
this.loadingRoute()
81+
}
82+
8083
this.clearGenresFilter()
8184
this.fetchData()
8285
},
8386
8487
watch: {
85-
'$route': function () {
86-
this.loadingRoute()
87-
this.fetchData()
88-
},
89-
9088
'links': function () {
9189
let self = this
9290

0 commit comments

Comments
 (0)