Skip to content

Commit

Permalink
fix(telecom): fix d3 import
Browse files Browse the repository at this point in the history
Signed-off-by: Jisay <[email protected]>
  • Loading branch information
Jisay authored and anooparveti committed Aug 10, 2023
1 parent f0323be commit fcb91aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/manager/apps/telecom/src/app/app.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import 'script-loader!angular-ui-utils/ui-utils.js';
import 'angular-validation-match';
import 'bootstrap';
import 'script-loader!CSV-JS/csv.js';
import 'script-loader!d3/dist/d3.js';
import 'matchmedia-polyfill';
import 'matchmedia-ng';
import 'script-loader!messenger/build/js/messenger.js';
Expand Down Expand Up @@ -66,6 +65,8 @@ import has from 'lodash/has';
import isString from 'lodash/isString';
import set from 'lodash/set';

import * as d3 from 'd3';

import ovhManagerBetaPreference from '@ovh-ux/manager-beta-preference';
import { registerCoreModule } from '@ovh-ux/manager-core';
import ovhManagerDashboard from '@ovh-ux/manager-telecom-dashboard';
Expand Down Expand Up @@ -121,6 +122,8 @@ import './app.less';

import { TRACKING } from './at-internet.constants';

window.d3 = d3;

const getEnvironment = (shellClient) => {
return shellClient.environment.getEnvironment();
};
Expand Down

0 comments on commit fcb91aa

Please sign in to comment.