UNPKG

@myorders/ember-ui

Version:

Myorders UI provides all the interface components, helpers, services and utilities for building a Myorders extension into the Console.

11 lines (9 loc) 248 B
import { helper } from '@ember/component/helper'; import { isBlank } from '@ember/utils'; export default helper(function nA([value, fallback = '-']) { if (isBlank(value)) { return fallback; } else { return value; } });