diff --git a/src/legacy/ui/public/doc_table/doc_table.js b/src/legacy/ui/public/doc_table/doc_table.js index b7e1532ba841c..05311556869e1 100644 --- a/src/legacy/ui/public/doc_table/doc_table.js +++ b/src/legacy/ui/public/doc_table/doc_table.js @@ -20,7 +20,6 @@ import _ from 'lodash'; import html from './doc_table.html'; import { getSort } from './lib/get_sort'; -import '../directives/truncated'; import '../directives/infinite_scroll'; import './components/table_header'; import './components/table_row'; diff --git a/src/legacy/ui/public/directives/truncated.js b/src/legacy/ui/public/notify/directives/truncated.js similarity index 95% rename from src/legacy/ui/public/directives/truncated.js rename to src/legacy/ui/public/notify/directives/truncated.js index c3b672c8b0f03..b17567a301701 100644 --- a/src/legacy/ui/public/directives/truncated.js +++ b/src/legacy/ui/public/notify/directives/truncated.js @@ -19,8 +19,8 @@ import truncText from 'trunc-text'; import truncHTML from 'trunc-html'; -import { uiModules } from '../modules'; -import truncatedTemplate from './partials/truncated.html'; +import { uiModules } from '../../modules'; +import truncatedTemplate from '../partials/truncated.html'; import 'angular-sanitize'; const module = uiModules.get('kibana', ['ngSanitize']); diff --git a/src/legacy/ui/public/notify/notify.js b/src/legacy/ui/public/notify/notify.js index 4ed43c1fcfc3e..42b6391cb3d6d 100644 --- a/src/legacy/ui/public/notify/notify.js +++ b/src/legacy/ui/public/notify/notify.js @@ -26,7 +26,7 @@ import { banners } from './banners'; import { Notifier } from './notifier'; import template from './partials/toaster.html'; import '../filters/markdown'; -import '../directives/truncated'; +import './directives/truncated'; import { FormattedMessage } from '@kbn/i18n/react'; import { diff --git a/src/legacy/ui/public/directives/partials/truncated.html b/src/legacy/ui/public/notify/partials/truncated.html similarity index 100% rename from src/legacy/ui/public/directives/partials/truncated.html rename to src/legacy/ui/public/notify/partials/truncated.html