Fix up moment js
This commit is contained in:
parent
fb88f494b2
commit
56c0e92fe6
2 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,9 @@
|
|||
import Ember from 'ember';
|
||||
import { formatDate } from '../utils/date-helpers';
|
||||
|
||||
export default Ember.Handlebars.makeBoundHelper(function(value, format) {
|
||||
export default Ember.Helper.helper(function(params) {
|
||||
let value = params[0],
|
||||
format = params[1];
|
||||
if (value == null) {
|
||||
return 'N/A';
|
||||
}
|
||||
|
|
Reference in a new issue