BUGFIXEK UI oldalon
This commit is contained in:
@@ -12,7 +12,7 @@ public partial class CheckListPage : ContentPage
|
||||
private readonly ICheckListService _checkListService;
|
||||
private readonly IUserService _userService;
|
||||
private bool _isLoading;
|
||||
|
||||
|
||||
|
||||
public ICommand NewCommand { get; set; }
|
||||
public ICommand ContinueCommand { get; set; }
|
||||
@@ -25,7 +25,7 @@ public partial class CheckListPage : ContentPage
|
||||
OnPropertyChanged(nameof(IsLoading));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public CheckListPage()
|
||||
{
|
||||
@@ -44,15 +44,21 @@ public partial class CheckListPage : ContentPage
|
||||
protected override async void OnAppearing()
|
||||
{
|
||||
base.OnAppearing();
|
||||
|
||||
|
||||
BindingContext = this;
|
||||
await LoadCheckListTemplate();
|
||||
await LoadCheckList();
|
||||
}
|
||||
private async void OnNewItem(CheckListTemplateHeaderDTO checkListTemplateHeaderDTO)
|
||||
{
|
||||
|
||||
//await Navigation.PushAsync(new CheckPointEditPage(checkPointDTO));
|
||||
IsLoading = true;
|
||||
await _checkListService.StartNew(
|
||||
new CheckListHeaderNewDTO()
|
||||
{
|
||||
UserId = _userService.GetCurrentUser().Id,
|
||||
CheckListTemplateHeaderId = checkListTemplateHeaderDTO.Id
|
||||
});
|
||||
IsLoading = false;
|
||||
}
|
||||
private async void OnContinueItem(CheckListHeaderDTO checkListHeaderDTO)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user