2019-08-31 20:51:14 -07:00
|
|
|
import Component from '@ember/component';
|
|
|
|
import { tagName } from '@ember-decorators/component';
|
2019-09-04 21:46:02 -07:00
|
|
|
import { getConfig } from 'wherehows-web/services/configurator';
|
2019-08-31 20:51:14 -07:00
|
|
|
import { unGuardedEntities } from 'wherehows-web/utils/entity/flag-guard';
|
|
|
|
import { DataModelEntity } from '@datahub/data-models/constants/entity';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Main Navigation Bar for Datahub App
|
|
|
|
*/
|
|
|
|
@tagName('')
|
|
|
|
export default class Navbar extends Component {
|
|
|
|
/**
|
|
|
|
* The list of entities available
|
|
|
|
*/
|
2019-09-04 21:46:02 -07:00
|
|
|
entities: Array<DataModelEntity> = unGuardedEntities(getConfig);
|
2019-08-31 20:51:14 -07:00
|
|
|
}
|