mirror of https://github.com/vector-im/riot-web
Fix the spinner to actually appear
We started with clientSyncState being null, which it remained until the SYNCING event was emitted. We need to set clientSyncState's initial value correctly.pull/21833/head
parent
8e3851b380
commit
e00605571b
|
@ -170,7 +170,7 @@ var TimelinePanel = React.createClass({
|
|||
forwardPaginating: false,
|
||||
|
||||
// cache of matrixClient.getSyncState() (but from the 'sync' event)
|
||||
clientSyncState: null,
|
||||
clientSyncState: MatrixClientPeg.get().getSyncState(),
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue