LT-251: Hiding series from sutdy quick switch
This commit is contained in:
1 parent
c2dfb0e7ba
commit
c623faea94
6 files changed
+99
-53
No files matched your search
@@ -62,3 +62,8 @@ Template.registerHelper('choose', (...values) => {
|
||||
_.each(_.initial(values, 1), value => value && (result = value));
|
||||
return result;
|
||||
});
|
||||
|
||||
// Check if the value is different from undefined
|
||||
Template.registerHelper('isDefined', value => {
|
||||
return typeof value !== 'undefined';
|
||||
});
|
||||
Reference in new issue
Block a user