import { Meteor } from 'meteor/meteor';
import { Template } from 'meteor/templating';

/* eslint-disable object-shorthand */

Template.If_Admin_Logged_In.helpers({
  /**
   * @returns {*} True if Meteor is in the process of logging in.
   */
  authInProcess: function authInProcess() {
    return Meteor.loggingIn();
  },
  /**
   * @returns {boolean} True if there is a logged in user.
   */
  canShow: function canShow() {
    return !!Meteor.user();
  },
});

import { Meteor } from 'meteor/meteor';
import { Template } from 'meteor/templating';


Template.If_Admin_Logged_In.helpers({

   // @returns {*} True if Meteor is in the process of logging in.
   //
  authInProcess: function authInProcess() {
    return Meteor.loggingIn();
  },
   //@returns {boolean} True if there is a logged in user.

  canShow: function canShow() {
    return !!Meteor.user();
  },
});

Modify settings.json to allow deploy
Modify settings.json to allow deploy
