Fix indexOf comparison for testing if processor has been seen
Change-Id: Ib58a4ea081c80a9526e12e30c15a15b79eb2b418
This commit is contained in:
parent
6f2c042bae
commit
33e8d20f9f
@ -79,7 +79,7 @@ const Layout = React.createClass({
|
||||
var model;
|
||||
for (var i = 0; i < this.state.systems.length; i++) {
|
||||
model = this.state.systems[i]['ProcessorSummary']['Model'];
|
||||
if (model && processorModels.indexOf(model) >= 0) {
|
||||
if (model && processorModels.indexOf(model) < 0) {
|
||||
processorModels.push(model);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user