butter-desktop icon indicating copy to clipboard operation
butter-desktop copied to clipboard

collection.state = 'error' is bugged

Open vankasteelj opened this issue 8 years ago • 3 comments

We have no access to errors anymore. The issue comes from list.js isEmpty() -> this.collection isn't updated when it autochecks getEmptyView();

vankasteelj avatar Dec 31 '16 00:12 vankasteelj

i cant parse that bug, what is wrong ? isn't that fixed by commits you put in vkj/redesign ?

xaiki avatar Jan 01 '17 08:01 xaiki

try logging state in getEmptyView, there is a 0ms delay before it's actually set to the correct error (testing can be done in watchlist by logging off trakt : the model is set to error, and it should display "you need to be logged in to see watchlist", and instead it says empty view "no watchlist found")

vankasteelj avatar Jan 01 '17 10:01 vankasteelj

fixed in xaiki/redesign

xaiki avatar Jan 01 '17 20:01 xaiki