mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
A few cleanup items:
* Switched data/upload url to data/csv for better future proofing * Removed old unnecessary css rule * Fixed issue with management tab link removing the wizard's app state
This commit is contained in:
parent
83595aecd5
commit
ef3c49aae5
3 changed files with 9 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
import _ from 'lodash';
|
||||
import modules from 'ui/modules';
|
||||
import template from 'plugins/kibana/management/sections/indices/upload/directives/upload_wizard.html';
|
||||
import IngestProvider from 'ui/ingest';
|
||||
|
@ -62,6 +63,11 @@ modules.get('apps/management')
|
|||
};
|
||||
|
||||
$scope.$watch('wizard.state.currentStep', (newValue, oldValue) => {
|
||||
if (_.isUndefined(newValue)) {
|
||||
$state.currentStep = oldValue;
|
||||
$state.save();
|
||||
return;
|
||||
}
|
||||
if (this.complete) {
|
||||
$state.currentStep = totalSteps - 1;
|
||||
$state.save();
|
||||
|
|
|
@ -3,13 +3,13 @@ import routes from 'ui/routes';
|
|||
import template from 'plugins/kibana/management/sections/indices/upload/index.html';
|
||||
import './directives/upload_wizard';
|
||||
|
||||
routes.when('/management/data/upload/', {
|
||||
routes.when('/management/data/csv/', {
|
||||
template: template
|
||||
});
|
||||
|
||||
management.getSection('data').register('upload', {
|
||||
management.getSection('data').register('csv', {
|
||||
display: 'Upload CSV',
|
||||
order: 10,
|
||||
path: 'data/upload/'
|
||||
path: 'data/csv/'
|
||||
});
|
||||
|
||||
|
|
|
@ -234,10 +234,6 @@ kbn-management-indices {
|
|||
}
|
||||
}
|
||||
|
||||
.nav-buttons {
|
||||
float:right;
|
||||
}
|
||||
|
||||
.kbn-settings-indices-create {
|
||||
.time-and-pattern > div {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue