mirror of https://gitee.com/bigwinds/arangodb
fixed ui graph issue
This commit is contained in:
parent
02c021f7a6
commit
a8ba3a43fc
|
@ -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()
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue