Skip to content

Commit 9783a57

Browse files
Merge pull request #19 from stavroskasidis/release/2.2
Version 2.2
2 parents c08f0e0 + 0e31667 commit 9783a57

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

BlazorDialog/BlazorDialog.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
5-
6-
75
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
86
<PackageId>BlazorDialog</PackageId>
97
<Authors>Stavros Kasidis (AkiraGTX)</Authors>
@@ -14,7 +12,7 @@
1412
<Copyright />
1513
<PackageTags>blazor blazor-component blazor-dialog dialog modal blazor-modal blazordialog blazormodaldialog blazormodal razor razor-components razorcomponents</PackageTags>
1614
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
17-
<Version>2.1.0</Version>
15+
<Version>2.2.0</Version>
1816
<Version Condition=" '$(VersionSuffix)' != '' ">$(Version)-$(VersionSuffix)</Version>
1917
<Product>BlazorDialog</Product>
2018
</PropertyGroup>

BlazorDialog/Components/Dialog.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
dialogStore.Unregister(this);
211211
if (taskCompletionSource != null)
212212
{
213-
taskCompletionSource.SetCanceled();
213+
taskCompletionSource.TrySetCanceled();
214214
taskCompletionSource = null;
215215
}
216216
}
@@ -256,7 +256,7 @@
256256
}
257257
if (taskCompletionSource != null)
258258
{
259-
taskCompletionSource.SetCanceled();
259+
taskCompletionSource.TrySetCanceled();
260260
taskCompletionSource = null;
261261
}
262262

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
33
<PropertyGroup>
44
<TargetFramework>net6.0</TargetFramework>
5-
<MSPackagesVersion>6.0.0</MSPackagesVersion>
5+
<MSPackagesVersion>6.0.26</MSPackagesVersion>
66
<Nullable>enable</Nullable>
77
<ImplicitUsings>enable</ImplicitUsings>
88
</PropertyGroup>

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,14 @@ Make sure that there is a call to `app.UseStaticFiles();` in your server project
8181
</details>
8282
8383
## Release Notes
84+
<details open="open"><summary>2.2</summary>
85+
86+
>- Fix for showing the same dialog with the dialog service more than once in the same async function.
87+
>- Upgrade MS packages dependecy to 6.0.26
88+
</details>
89+
8490

85-
<details open="open"><summary>2.1</summary>
91+
<details><summary>2.1</summary>
8692

8793
>- Minor fix for when returning null dialog results to non nullable result types.
8894
</details>

0 commit comments

Comments
 (0)