mirror of
https://github.com/lantean-code/qbtmud.git
synced 2025-10-23 04:52:22 +00:00
FIx bug with cascading parameter
This commit is contained in:
@@ -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]
|
||||
|
@@ -19,7 +19,7 @@ namespace Lantean.QBTMudBlade.Components
|
||||
[Parameter]
|
||||
public bool Active { get; set; }
|
||||
|
||||
[CascadingParameter]
|
||||
[CascadingParameter(Name = "RefreshInterval")]
|
||||
public int RefreshInterval { get; set; }
|
||||
|
||||
[Inject]
|
||||
|
Reference in New Issue
Block a user