Skip to content

Commit

Permalink
Update package 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavnavar committed Dec 12, 2024
1 parent 5352027 commit b4ffa04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GridBlazor/GridBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<LangVersion>11.0</LangVersion>
<GenerateEmbeddedFilesManifest>True</GenerateEmbeddedFilesManifest>
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
<Version>6.0.1</Version>
<Version>6.0.2</Version>
<Title>GridBlazor</Title>
<Description>Grid components for Blazor</Description>
<Summary>Grid components for Blazor</Summary>
Expand Down
2 changes: 2 additions & 0 deletions GridBlazor/Pages/GridComponent.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,7 @@ public async Task<bool> CreateItem(GridCreateComponent<T> component)
if (isValid)
{
await ShowSpinner();
Item = component.Item;
if (Grid.ServerAPI == ServerAPI.OData && !UseMemoryCrudDataService)
Item = await ((ICrudODataService<T>)((CGrid<T>)Grid).CrudDataService).Add(Item);
else
Expand Down Expand Up @@ -1499,6 +1500,7 @@ public async Task<bool> UpdateItem(GridUpdateComponent<T> component)
if (isValid)
{
await ShowSpinner();
Item = component.Item;
if (((CGrid<T>)Grid).CrudFileService != null)
Item = await ((CGrid<T>)Grid).CrudFileService.UpdateFiles(Item, component.Files);
await ((CGrid<T>)Grid).CrudDataService.Update(Item);
Expand Down

0 comments on commit b4ffa04

Please sign in to comment.