Added web and email notifications. Tests. Fire page

This commit is contained in:
vjrj 2018-01-16 16:19:29 +01:00
parent df05b33e82
commit 3bf21c8caf
32 changed files with 696 additions and 88 deletions

View file

@ -1,5 +1,7 @@
import React from 'react';
import { translate } from 'react-i18next';
import { Meteor } from 'meteor/meteor';
import { Tracker } from 'meteor/tracker';
import Blaze from 'meteor/gadicc:blaze-react-component';
const Reconnect = props => (
@ -7,3 +9,12 @@ const Reconnect = props => (
);
export default translate([], { wait: true })(Reconnect);
if (!Meteor.isProduction) {
// We clear the console on disconnect during development
Tracker.autorun(() => {
if (Meteor.status().status === 'waiting') {
// console.clear();
}
});
}