Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.
This repository was archived by the owner on May 25, 2021. It is now read-only.

Set Event Stage Doesn't Work in Admin User Portal #96

@SLiNv

Description

@SLiNv

I was looking through the codes, found the following listener in client/script/user/server_settings.js

// event stage
  'change .event-stage': function(e) {
    var stage = $(e.target).attr('value');
    console.log(stage)
    Meteor.users.update({ '_id': Meteor.userId() }, {
      $set: {
        'settings.event_stage': stage
      }
    });
  }

and I see that the router has a switch based on settings.public.enent_state
switch (Meteor.settings.public.event_state)

But when I change the Event Stage settings in the admin's user portal, the homepage won't change accordingly. It will stay with what ever stage I set in the settings.json (the initial state when the meteor is started). Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions