more filter optimisation
This commit is contained in:
parent
e2de282cd8
commit
4580336d6f
@ -84,9 +84,6 @@ angular.module('netStatsApp.filters', [])
|
||||
return 'text-success';
|
||||
|
||||
if(propagation <= 7000)
|
||||
return 'text-info';
|
||||
|
||||
if(propagation <= 10000)
|
||||
return 'text-warning';
|
||||
|
||||
return 'text-danger'
|
||||
@ -98,9 +95,6 @@ angular.module('netStatsApp.filters', [])
|
||||
return 'text-success';
|
||||
|
||||
if(time <= 1000)
|
||||
return 'text-info';
|
||||
|
||||
if(time <= 2000)
|
||||
return 'text-warning';
|
||||
|
||||
return 'text-danger'
|
||||
|
Loading…
Reference in New Issue
Block a user