Creating a generic UI error handling mechanism

This commit is contained in:
Bruno Alves de Faria committed 2018-02-27 07:12:23 -03:00
1 parent 3c1e4c51cd
commit 798b197d4a
13 files changed
+81 -9

No files matched your search

@@ -55,3 +55,7 @@ Template.section.onCreated(() => {
});
}
});
Template.registerHelper('hasSection', sectionName => {
return !!OHIF.blaze.getSectionContent(Template.instance().view, sectionName);
});