mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-31 21:36:08 +00:00
29 lines
777 B
TypeScript
29 lines
777 B
TypeScript
![]() |
import LinkComponent from '@ember/routing/link-component';
|
||
|
// import { computed } from '@ember/object';
|
||
|
import { tagName } from '@ember-decorators/component';
|
||
|
|
||
|
@tagName('li')
|
||
|
export default class NavLink extends LinkComponent {
|
||
|
attributeBindings = ['data-toggle', 'data-target'];
|
||
|
|
||
|
// params: Array<string>;
|
||
|
// models: Array<string>;
|
||
|
// route: string;
|
||
|
|
||
|
// @computed('models', 'qualifiedRouteName')
|
||
|
// get hrefForA(): string {
|
||
|
// const { params, models, route } = this;
|
||
|
// debugger;
|
||
|
// console.log(params, models);
|
||
|
|
||
|
// // if (this.get('loading')) {
|
||
|
// // return this.get('loadingHref');
|
||
|
// // }
|
||
|
// this.hre
|
||
|
|
||
|
// let routing = this.get('_routing');
|
||
|
// let queryParams = this.get('queryParams.values');
|
||
|
// return href;
|
||
|
// }
|
||
|
}
|