Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed unneccessary files and fixed styles #2747

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/components/common/welcome/agents-welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class AgentsWelcome extends Component {
null,
this.props.agent.id
);
const $injector = getAngularModule();
const $injector = getAngularModule().$injector;
this.router = $injector.get('$route');
window.addEventListener('resize', this.updateWidth); //eslint-disable-line
}
Expand Down
2 changes: 2 additions & 0 deletions public/get_inner_angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { AppPluginStartDependencies } from './types';
import { getScopedHistory, setDiscoverModule } from './kibana-services';
import { createDiscoverLegacyDirective } from './kibana-integrations/discover/application/components/create_discover_legacy_directive';
import { createContextErrorMessageDirective } from './kibana-integrations/discover/application/components/context_error_message';
import { EuiIcon } from '@elastic/eui';

/**
* returns the main inner angular module, it contains all the parts of Angular Discover
Expand Down Expand Up @@ -93,6 +94,7 @@ export function initializeInnerAngularModule(name = 'app/wazuh', navigation: Nav
.config(watchMultiDecorator)
.run(registerListenEventListener)
.directive('discoverLegacy', createDiscoverLegacyDirective)
.directive('icon', (reactDirective) => reactDirective(EuiIcon))
.directive('contextErrorMessage', createContextErrorMessageDirective);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import 'directives/index';
@import 'context/index';

This file was deleted.

112 changes: 0 additions & 112 deletions public/kibana-integrations/discover/application/angular/context.js

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading