13 lines
345 B
JavaScript
13 lines
345 B
JavaScript
Template.configurationList.events({
|
|
"click .add-new-config-btn": function(event, template) {
|
|
console.log('should add new configuration');
|
|
Session.set('newConfigurationRequested', true);
|
|
}
|
|
});
|
|
|
|
Template.configurationList.helpers({
|
|
newConfigurationRequested: function() {
|
|
return Session.get('newConfigurationRequested');
|
|
}
|
|
});
|