|
|
|
@ -12,7 +12,7 @@ FlowRouter.route('/', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
@ -36,7 +36,7 @@ FlowRouter.route('/public', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
@ -60,7 +60,7 @@ FlowRouter.route('/b/:id/:slug', { |
|
|
|
|
const previousBoard = Session.get('currentBoard'); |
|
|
|
|
Session.set('currentBoard', currentBoard); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
// If we close a card, we'll execute again this route action but we don't
|
|
|
|
@ -90,7 +90,7 @@ FlowRouter.route('/b/:boardId/:slug/:cardId', { |
|
|
|
|
|
|
|
|
|
Session.set('currentBoard', params.boardId); |
|
|
|
|
Session.set('currentCard', params.cardId); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Utils.manageCustomUI(); |
|
|
|
@ -220,7 +220,7 @@ FlowRouter.route('/import/:source', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
Session.set('importSource', params.source); |
|
|
|
|
|
|
|
|
@ -242,7 +242,7 @@ FlowRouter.route('/setting', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
@ -267,7 +267,7 @@ FlowRouter.route('/information', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
@ -291,7 +291,7 @@ FlowRouter.route('/people', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
@ -315,7 +315,7 @@ FlowRouter.route('/admin-reports', { |
|
|
|
|
Session.set('currentBoard', null); |
|
|
|
|
Session.set('currentList', null); |
|
|
|
|
Session.set('currentCard', null); |
|
|
|
|
Session.set('popupCard', null); |
|
|
|
|
Session.set('popupCardId', null); |
|
|
|
|
Session.set('popupCardBoardId', null); |
|
|
|
|
|
|
|
|
|
Filter.reset(); |
|
|
|
|