mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
a148ae660f
* 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
10 lines
270 B
JavaScript
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);
|
|
}
|
|
}
|