1
0
Fork 0

fixed ui graph issue

This commit is contained in:
hkernbach 2017-03-01 16:24:48 +01:00
parent 02c021f7a6
commit a8ba3a43fc
1 changed files with 7 additions and 4 deletions

View File

@ -52,6 +52,7 @@
},
hideSmartGraphOptions: function () {
$('#tab-smartGraph').parent().remove();
$('#row_general-numberOfShards').show();
$('#smartGraphInfo').hide();
$('#row_new-numberOfShards').hide();
@ -640,10 +641,12 @@
};
}
} else {
if ($('#general-numberOfShards').val().length > 0) {
newCollectionObject.options = {
numberOfShards: $('#general-numberOfShards').val()
};
if (frontendConfig.isCluster) {
if ($('#general-numberOfShards').val().length > 0) {
newCollectionObject.options = {
numberOfShards: $('#general-numberOfShards').val()
};
}
}
}