commit: 99051f4a55376939a3161c9cdeac5fdb9d99915a
parent: e34e1ccdae06302ee734414267a357ff5b7c888c
Author: Shpuld Shpludson <shp@cock.li>
Date: Fri, 22 Feb 2019 15:17:17 +0000
Merge branch 'fix/fetch-error-when-login' into 'develop'
#370 fix/fetch-error-when-login
See merge request pleroma/pleroma-fe!596
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
@@ -54,6 +54,8 @@ const Timeline = {
window.addEventListener('scroll', this.scrollLoad)
+ if (this.timelineName === 'friends' && !credentials) { return false }
+
timelineFetcher.fetchAndUpdate({
store,
credentials,