Skip to content

Commit

Permalink
use new platform ui settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Sep 27, 2019
1 parent 4e784b9 commit aaf9f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/legacy/ui/public/registry/field_formats.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
*/

import { memoize, forOwn, isFunction } from 'lodash';
import chrome from '../chrome';
import { npStart } from 'ui/new_platform';
import { FieldFormat } from '../../../../plugins/data/common/field_formats';

class FieldFormatRegistry {
constructor() {
this.fieldFormats = new Map();
this._uiSettings = chrome.getUiSettingsClient();
this._uiSettings = npStart.core.uiSettings;
this.getConfig = (...args) => this._uiSettings.get(...args);
this._defaultMap = [];
this.init();
Expand Down

0 comments on commit aaf9f2a

Please sign in to comment.