FIx bug with cascading parameter

This commit is contained in:
ahjephson
2024-06-29 15:24:12 +01:00
parent 5daa68fc7b
commit b3a6bf8d36
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ namespace Lantean.QBTMudBlade.Components
[Parameter, EditorRequired]
public string? Hash { get; set; }
[CascadingParameter]
[CascadingParameter(Name = "RefreshInterval")]
public int RefreshInterval { get; set; }
[Inject]

View File

@@ -19,7 +19,7 @@ namespace Lantean.QBTMudBlade.Components
[Parameter]
public bool Active { get; set; }
[CascadingParameter]
[CascadingParameter(Name = "RefreshInterval")]
public int RefreshInterval { get; set; }
[Inject]