mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Update broken import and fix missing link (#11912)
This commit is contained in:
parent
7557c8f563
commit
e62e063439
2 changed files with 3 additions and 3 deletions
|
@ -141,7 +141,7 @@
|
|||
</h4>
|
||||
|
||||
<p>
|
||||
Please familiarize yourself with <a target="_window" ng-href="{{ editor.docLinks.scriptFields }}">script fields <i class="fa-link fa"></i></a> and with <a target="_window" ng-href="">scripts in aggregations <i class="fa-link fa"></i></a> before using scripted fields.
|
||||
Please familiarize yourself with <a target="_window" ng-href="{{ editor.docLinks.scriptFields }}">script fields <i class="fa-link fa"></i></a> and with <a target="_window" ng-href="{{ editor.docLinks.scriptAggs }}">scripts in aggregations <i class="fa-link fa"></i></a> before using scripted fields.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -7,7 +7,7 @@ import { IndexPatternsFieldProvider } from 'ui/index_patterns/_field';
|
|||
import { uiModules } from 'ui/modules';
|
||||
import fieldEditorTemplate from 'ui/field_editor/field_editor.html';
|
||||
import { IndexPatternsCastMappingTypeProvider } from 'ui/index_patterns/_cast_mapping_type';
|
||||
import { scriptedFields as docLinks } from '../documentation_links/documentation_links';
|
||||
import { documentationLinks } from '../documentation_links/documentation_links';
|
||||
import './field_editor.less';
|
||||
import { GetEnabledScriptingLanguagesProvider, getSupportedScriptingLanguages } from '../scripting_languages';
|
||||
|
||||
|
@ -36,7 +36,7 @@ uiModules
|
|||
const self = this;
|
||||
const notify = new Notifier({ location: 'Field Editor' });
|
||||
|
||||
self.docLinks = docLinks;
|
||||
self.docLinks = documentationLinks.scriptedFields;
|
||||
getScriptingLangs().then((langs) => {
|
||||
self.scriptingLangs = _.intersection(langs, ['expression', 'painless']);
|
||||
if (!_.includes(self.scriptingLangs, self.field.lang)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue