mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Maps] Move new vector layer wizard card down (#104797)
This commit is contained in:
parent
4f7cae7950
commit
41fb80b8a7
3 changed files with 23 additions and 12 deletions
|
@ -38,7 +38,6 @@ export function registerLayerWizards() {
|
|||
|
||||
// Registration order determines display order
|
||||
registerLayerWizard(uploadLayerWizardConfig);
|
||||
registerLayerWizard(newVectorLayerWizardConfig);
|
||||
registerLayerWizard(esDocumentsLayerWizardConfig);
|
||||
// @ts-ignore
|
||||
registerLayerWizard(choroplethLayerWizardConfig);
|
||||
|
@ -51,6 +50,7 @@ export function registerLayerWizards() {
|
|||
registerLayerWizard(point2PointLayerWizardConfig);
|
||||
// @ts-ignore
|
||||
registerLayerWizard(emsBoundariesLayerWizardConfig);
|
||||
registerLayerWizard(newVectorLayerWizardConfig);
|
||||
// @ts-ignore
|
||||
registerLayerWizard(emsBaseMapLayerWizardConfig);
|
||||
// @ts-ignore
|
||||
|
|
|
@ -535,6 +535,17 @@ exports[`TOCEntryActionsPopover should not show edit actions in read only mode 1
|
|||
"onClick": [Function],
|
||||
"toolTipContent": null,
|
||||
},
|
||||
Object {
|
||||
"data-test-subj": "layerSettingsButton",
|
||||
"disabled": false,
|
||||
"icon": <EuiIcon
|
||||
size="m"
|
||||
type="pencil"
|
||||
/>,
|
||||
"name": "Edit layer settings",
|
||||
"onClick": [Function],
|
||||
"toolTipContent": null,
|
||||
},
|
||||
],
|
||||
"title": "Layer actions",
|
||||
},
|
||||
|
|
|
@ -158,6 +158,17 @@ export class TOCEntryActionsPopover extends Component<Props, State> {
|
|||
},
|
||||
},
|
||||
];
|
||||
actionItems.push({
|
||||
disabled: this.props.isEditButtonDisabled,
|
||||
name: EDIT_LAYER_SETTINGS_LABEL,
|
||||
icon: <EuiIcon type="pencil" size="m" />,
|
||||
'data-test-subj': 'layerSettingsButton',
|
||||
toolTipContent: null,
|
||||
onClick: () => {
|
||||
this._closePopover();
|
||||
this.props.openLayerSettings();
|
||||
},
|
||||
});
|
||||
|
||||
if (!this.props.isReadOnly) {
|
||||
if (this.state.supportsFeatureEditing) {
|
||||
|
@ -186,17 +197,6 @@ export class TOCEntryActionsPopover extends Component<Props, State> {
|
|||
},
|
||||
});
|
||||
}
|
||||
actionItems.push({
|
||||
disabled: this.props.isEditButtonDisabled,
|
||||
name: EDIT_LAYER_SETTINGS_LABEL,
|
||||
icon: <EuiIcon type="pencil" size="m" />,
|
||||
'data-test-subj': 'layerSettingsButton',
|
||||
toolTipContent: null,
|
||||
onClick: () => {
|
||||
this._closePopover();
|
||||
this.props.openLayerSettings();
|
||||
},
|
||||
});
|
||||
actionItems.push({
|
||||
name: i18n.translate('xpack.maps.layerTocActions.cloneLayerTitle', {
|
||||
defaultMessage: 'Clone layer',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue