consul/ui/packages/consul-ui/app/helpers/temporal-within.js
John Cowen a148ae660f
ui: Adds licensing overview tab (#12706)
* Add some utilities/helpers to temporal for formatting etc

* Enable the licensing tab

* Add licensing page

* Add CSS for licensing page

* Fixup typo

* Remove box shadow from panel
2022-04-12 09:56:54 +01:00

10 lines
270 B
JavaScript

import Helper from '@ember/component/helper';
import { inject as service } from '@ember/service';
export default class TemporalWithinHelper extends Helper {
@service('temporal') temporal;
compute(params, hash) {
return this.temporal.within(params, hash);
}
}