Skip to content

Commit f7db61d

Browse files
authored
Fix fixes showing n/a when no scenario (#1057)
1 parent 475bf7d commit f7db61d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/Device.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override string ToString()
4242

4343
public double? Scale => BestScenario?.Scale;
4444

45-
public int? Fixes => BestScenario?.Fixes;
45+
public int? Fixes => Nodes.Values.Count(dn => dn.Current);
4646

4747
public DateTime? LastSeen
4848
{

0 commit comments

Comments
 (0)