27bb03bbc0
* adding copyright header * fix fmt and a test
18 lines
359 B
JavaScript
18 lines
359 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { inject as service } from '@ember/service';
|
|
import { alias } from '@ember/object/computed';
|
|
import Component from '@ember/component';
|
|
|
|
export default Component.extend({
|
|
// public
|
|
model: null,
|
|
|
|
tagName: '',
|
|
router: service(),
|
|
path: alias('router.currentURL'),
|
|
});
|