Skip to content

Commit 6cf1b26

Browse files
committed
fix
1 parent 502f651 commit 6cf1b26

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Cropper.Blazor/Client/Pages/CropperDemo.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
ErrorLoadImageSrc="@_errorLoadImageSrc"
3535
IsErrorLoadImage="@IsErrorLoadImage"
3636
OnErrorLoadImageEvent="OnErrorLoadImageEvent"
37+
Options="Options"
3738
IsAvailableInitCropper="IsAvailableInitCropper" />
3839
</div>
3940
</MudPaper>

src/Cropper.Blazor/Cropper.Blazor.UnitTests/Components/CropperComponent_Should.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,8 @@ private bool VerifyOptions(Options options) =>
798798
&& options.MinCropBoxWidth == 0
799799
&& options.MinCropBoxHeight == 0
800800
&& options.MinContainerWidth == 200
801-
&& options.MinContainerHeight == 100;
801+
&& options.MinContainerHeight == 100
802+
&& options.CorrelationId == "Cropper.Blazor";
802803

803804
public void Dispose()
804805
{

0 commit comments

Comments
 (0)