mirror of https://github.com/vector-im/riot-web
lint
parent
edd43a2706
commit
6eddce8c32
|
@ -1750,7 +1750,7 @@ export default React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
updateStatusIndicator: function(state, prevState) {
|
updateStatusIndicator: function(state, prevState) {
|
||||||
let notifCount = countRoomsWithNotif(MatrixClientPeg.get().getRooms()).count;
|
const notifCount = countRoomsWithNotif(MatrixClientPeg.get().getRooms()).count;
|
||||||
|
|
||||||
if (PlatformPeg.get()) {
|
if (PlatformPeg.get()) {
|
||||||
PlatformPeg.get().setErrorStatus(state === 'ERROR');
|
PlatformPeg.get().setErrorStatus(state === 'ERROR');
|
||||||
|
|
Loading…
Reference in New Issue