rebase on deprecated browse feature

This commit is contained in:
Seyi Adebajo 2018-07-24 12:32:27 -07:00
parent 1eba5288a9
commit b1a347abaa
2 changed files with 1 additions and 6 deletions

View File

@ -3,7 +3,6 @@ import { setProperties } from '@ember/object';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
import { refreshModelQueryParams } from 'wherehows-web/utils/helpers/routes';
import BrowseEntityController from 'wherehows-web/controllers/browse/entity';
import Configurator from 'wherehows-web/services/configurator';
const queryParamsKeys: Array<keyof IBrowserRouteParams> = ['page', 'prefix', 'platform', 'size'];
@ -31,13 +30,10 @@ export default class BrowseEntity extends Route.extend(AuthenticatedRouteMixin,
queryParams = refreshModelQueryParams(queryParamsKeys);
setupController(this: BrowseEntity, controller: BrowseEntityController, model: IBrowserRouteParams) {
const { getConfig } = Configurator;
// sets the entity property on the controller in addition to the model
setProperties(controller, {
model,
entity: model.entity,
shouldShowBrowserRevamp: getConfig('shouldShowBrowserRevamp')
entity: model.entity
});
}

View File

@ -8,7 +8,6 @@ import { DatasetPlatform } from 'wherehows-web/constants';
interface IAppConfig {
isInternal: boolean | void;
JitAclAccessWhitelist: Array<DatasetPlatform> | void;
shouldShowBrowserRevamp: boolean;
shouldShowDatasetLineage: boolean;
tracking: {
isEnabled: boolean;