Skip to content

Commit

Permalink
fixed vega lib import
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Feb 6, 2018
1 parent aac6c3b commit c3d1c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/vega_view/vega_base_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class VegaBaseView {
if (!this._vegaConfig.enableExternalUrls) {
// Override URL loader and sanitizer to disable all URL-based requests
const errorFunc = () => {
throw new Error('External URLs are not enabled. Add "vega": {"enableExternalUrls": true} to kibana.yml');
throw new Error('External URLs are not enabled. Add "vega_vis": {"enableExternalUrls": true} to kibana.yml');
};
const loader = vega.loader();
loader.load = errorFunc;
Expand Down
2 changes: 1 addition & 1 deletion public/vega_view/vega_map_view.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import L from 'leaflet';
import 'leaflet-vega';
import * as vega from 'vega';
import * as vega from 'vega-lib';
import { VegaBaseView } from './vega_base_view';

export class VegaMapView extends VegaBaseView {
Expand Down

0 comments on commit c3d1c1a

Please sign in to comment.