SOLR-14483 (#1988)

* fixed broken select box

* converted tabs to spaces :sigh:

* Fix the refreshing of the scope

* track fix

Co-authored-by: sayan.das <sayan.das@gdn-commerce.com>
This commit is contained in:
Eric Pugh 2020-10-15 14:36:31 -04:00 committed by GitHub
parent 0bd2f314b7
commit d7e58ede0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 4 deletions

View File

@ -265,6 +265,8 @@ Bug Fixes
* SOLR-14924: Some ReplicationHandler metrics are reported using incorrect types. (ab)
* SOLR-14483: Fix empty drop down for adding replica in Admin UI (Sayan Das via Eric Pugh)
Other Changes
---------------------

View File

@ -123,6 +123,11 @@ limitations under the License.
padding-right: 3px;
}
#content #collections .chosen-container.chosen-container-single
{
width: 100% !important;
}
#content #collections .actions form .buttons
{
padding-top: 10px;

View File

@ -212,7 +212,7 @@ solrAdminApp.controller('CollectionsController',
$scope.nodes = [];
var children = data.tree[0].children;
for (var child in children) {
$scope.nodes.push(children[child].data.title);
$scope.nodes.push(children[child].text);
}
});
};
@ -257,7 +257,7 @@ solrAdminApp.controller('CollectionsController',
$timeout(function () {
shard.replicaAdded = false;
shard.showAdd = false;
$$scope.refresh();
$scope.refresh();
}, 2000);
});
};

View File

@ -335,7 +335,7 @@ limitations under the License.
<select chosen ng-model="shard.replicaNodeName" ng-options="node for node in nodes" class="other">
<option value="">No specified node</option>
</select>
node: {{shard.replicaNodeName}}
<span ng-if="shard.replicaNodeName">node: {{shard.replicaNodeName}}</span>
</p>
<p class="clearfix note error" ng-show="createReplicaMessage">