Suppress body ordinal in results for system-wide checks
This commit is contained in:
parent
27a6b8c39d
commit
45b3dbf115
3 changed files with 14 additions and 13 deletions
|
|
@ -192,7 +192,7 @@ namespace Observatory.Explorer
|
|||
{
|
||||
var scanResult = new ExplorerUIResults()
|
||||
{
|
||||
BodyName = scanEvent.BodyName,
|
||||
BodyName = result.SystemWide ? scanEvent.StarSystem : scanEvent.BodyName,
|
||||
Time = scanEvent.TimestampDateTime.ToString("G"),
|
||||
Description = result.Description,
|
||||
Details = result.Detail
|
||||
|
|
@ -233,6 +233,7 @@ namespace Observatory.Explorer
|
|||
}
|
||||
else
|
||||
{
|
||||
bodyLabel = "Primary Star";
|
||||
spokenAffix = string.Empty;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue