Nerosoft © @(DateTime.Today.Year). All rights reserved.
diff --git a/Source/Starfish.Webapp/Pages/Configs/Edit.razor b/Source/Starfish.Webapp/Pages/Configs/Edit.razor
index 19a73b5..7631b48 100644
--- a/Source/Starfish.Webapp/Pages/Configs/Edit.razor
+++ b/Source/Starfish.Webapp/Pages/Configs/Edit.razor
@@ -138,7 +138,7 @@
private async Task LoadTeamsAsync()
{
- await TeamApi.QueryAsync(new TeamCriteria(), 1, 100)
+ await TeamApi.QueryAsync(new TeamCriteria(), 0, 100)
.EnsureSuccess(result =>
{
if (result == null)
diff --git a/Source/Starfish.Webapp/Pages/Configs/Index.razor b/Source/Starfish.Webapp/Pages/Configs/Index.razor
index 15d4740..141dfd5 100644
--- a/Source/Starfish.Webapp/Pages/Configs/Index.razor
+++ b/Source/Starfish.Webapp/Pages/Configs/Index.razor
@@ -118,7 +118,7 @@
var title = string.IsNullOrEmpty(id) ? Resources.IDS_CONFIG_EDIT_DIALOG_TITLE_ADD : Resources.IDS_CONFIG_EDIT_DIALOG_TITLE_EDIT;
var dialog = await DialogService.ShowDialogAsync(id, new DialogParameters { Title = title, PreventDismissOnOverlayClick = true });
var result = await dialog.Result;
- if (result.Cancelled)
+ if (!result.Cancelled)
{
await Pagination.SetCurrentPageIndexAsync(0);
}
diff --git a/Source/Starfish.Webapp/Pages/Team/Index.razor b/Source/Starfish.Webapp/Pages/Team/Index.razor
index b3def26..07d7d1e 100644
--- a/Source/Starfish.Webapp/Pages/Team/Index.razor
+++ b/Source/Starfish.Webapp/Pages/Team/Index.razor
@@ -99,7 +99,12 @@
private async Task OnEditClicked(string id)
{
var title = string.IsNullOrEmpty(id) ? Resources.IDS_TEAM_EDIT_TITLE_ADD : Resources.IDS_TEAM_EDIT_TITLE_EDIT;
- await DialogService.ShowDialogAsync(id ?? string.Empty, new DialogParameters { Title = title, PreventDismissOnOverlayClick = true });
+ var dialog = await DialogService.ShowDialogAsync(id ?? string.Empty, new DialogParameters { Title = title, PreventDismissOnOverlayClick = true });
+ var result = await dialog.Result;
+ if (!result.Cancelled)
+ {
+ await Pagination.SetCurrentPageIndexAsync(0);
+ }
}
private async Task OnSearchClicked()
diff --git a/global.props b/global.props
index ad45b6d..f598b3e 100644
--- a/global.props
+++ b/global.props
@@ -1,6 +1,6 @@
- 1.0.5
+ 1.0.6
damon
Nerosoft Ltd.
Starfish