hopefully gone

This commit is contained in:
Nazar Kanaev 2021-04-06 11:35:26 +01:00
parent 2df2f41516
commit 2edf11a36a
2 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,3 @@
- fix: mysterious "cannot read title of undefined" js error
- fix: use only 1 item content field - fix: use only 1 item content field
- etc: test new parser extensively - etc: test new parser extensively
- fix: loading items (by scrolling down) is glitching while feeds are refreshing - fix: loading items (by scrolling down) is glitching while feeds are refreshing

View File

@ -177,12 +177,10 @@ Vue.component('relative-time', {
}) })
var vm = new Vue({ var vm = new Vue({
mounted: function() {
this.refreshItems()
},
created: function() { created: function() {
this.refreshFeeds()
this.refreshStats() this.refreshStats()
.then(this.refreshFeeds.bind(this))
.then(this.refreshItems.bind(this))
}, },
data: function() { data: function() {
var s = app.settings var s = app.settings
@ -343,7 +341,7 @@ var vm = new Vue({
}, },
methods: { methods: {
refreshStats: function(loopMode) { refreshStats: function(loopMode) {
api.status().then(function(data) { return api.status().then(function(data) {
if (loopMode && !vm.itemSelected) vm.refreshItems() if (loopMode && !vm.itemSelected) vm.refreshItems()
vm.loading.feeds = data.running vm.loading.feeds = data.running