diff --git a/EliteBGS/MainWindow.xaml b/EliteBGS/MainWindow.xaml index ea7327a..bf55bbf 100644 --- a/EliteBGS/MainWindow.xaml +++ b/EliteBGS/MainWindow.xaml @@ -60,7 +60,10 @@ - + + + + diff --git a/EliteBGS/Objective.cs b/EliteBGS/Objective.cs index 40fd53e..f3b2ca4 100644 --- a/EliteBGS/Objective.cs +++ b/EliteBGS/Objective.cs @@ -79,6 +79,14 @@ public class Objective : IComparable { get { return UITransactions.Select(x => x.Transaction).ToList(); } } + public Visibility HasSystem { + get { return string.IsNullOrEmpty(System) ? Visibility.Hidden : Visibility.Visible; } + } + + public Visibility HasFaction { + get { return string.IsNullOrEmpty(Faction) ? Visibility.Hidden : Visibility.Visible; } + } + public string Name { get { return this.ToString(); } }