commit
cfe8059176
|
@ -46,9 +46,7 @@ namespace Oqtane.Modules
|
|||
|
||||
// base lifecycle method for handling JSInterop script registration
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (firstRender)
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
if (Resources != null && Resources.Exists(item => item.ResourceType == ResourceType.Script))
|
||||
{
|
||||
|
@ -64,7 +62,6 @@ namespace Oqtane.Modules
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// path method
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user