Schaden kann hinzugefügt werden

This commit is contained in:
HuskyTeufel
2021-10-01 12:20:24 +02:00
parent 98494be3cf
commit b48c012c18
12 changed files with 166 additions and 28 deletions

View File

@@ -27,6 +27,7 @@ namespace DaSaSo.ViewModel
public ICommand SchadenCommand { get; set; }
public BaseViewModel CurrentSewerViewModel => Navigator.CurrentViewModel;
public bool CanSelectDamage => Schaden != null;
public bool IsLoading
{
get => _isLoading;
@@ -47,6 +48,7 @@ namespace DaSaSo.ViewModel
{
_schaden = value;
OnPropertyChanged();
OnPropertyChanged(nameof(CanSelectDamage));
}
}