diff --git a/projects/IoT.Shared/Areas/Admin/Controlls/SharedController.cs b/projects/IoT.Shared/Areas/Admin/Controlls/SharedController.cs index 3378dfcf..423085d5 100644 --- a/projects/IoT.Shared/Areas/Admin/Controlls/SharedController.cs +++ b/projects/IoT.Shared/Areas/Admin/Controlls/SharedController.cs @@ -100,10 +100,10 @@ namespace IoT.Shared.Areas.Admin.Controlls catch (Exception ex) { ex.PrintStack(); - return RedirectTo(rawMesage: ex.Message); + return Error(ex.Message); } } - return RedirectTo(); + return Success(); } [ApiExplorerSettings(IgnoreApi = true)] diff --git a/projects/Version.cs b/projects/Version.cs index 8d4389b5..d63ba8e1 100644 --- a/projects/Version.cs +++ b/projects/Version.cs @@ -1,4 +1,4 @@ using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyInformationalVersion("1.0.0.729d1")] \ No newline at end of file +[assembly: AssemblyInformationalVersion("1.0.0.729d2")] \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/components/shared/list.html b/projects/WebMVC/wwwroot/components/shared/list.html index 23ea00d8..9233cd48 100644 --- a/projects/WebMVC/wwwroot/components/shared/list.html +++ b/projects/WebMVC/wwwroot/components/shared/list.html @@ -193,7 +193,9 @@ var data = Enumerable.from(list).select(o => o.value).toArray(); axios.post(url, data).then(function (response) { if (response.status === 204) { - vm.load(); + setTimeout(function () { + vm.load(); + }, 1000); } else { Swal.fire(response.data).then(o => vm.load());