diff --git a/app/helpers/null-time.js b/app/helpers/null-time.js new file mode 100644 index 0000000..2baa675 --- /dev/null +++ b/app/helpers/null-time.js @@ -0,0 +1,8 @@ +import Ember from 'ember'; + +export default Ember.Handlebars.makeBoundHelper(function(value, options) { + if (value == null) { + return 'N/A'; + } + return value; +});