fix JS Interop methods for includeScript and includeMeta

This commit is contained in:
Shaun Walker
2022-11-10 14:19:31 -05:00
parent 26e628e189
commit 075a09f0df
2 changed files with 12 additions and 11 deletions

View File

@ -60,13 +60,13 @@ namespace Oqtane.UI
}
}
public Task IncludeMeta(string id, string attribute, string name, string content, string key)
public Task IncludeMeta(string id, string attribute, string name, string content)
{
try
{
_jsRuntime.InvokeVoidAsync(
"Oqtane.Interop.includeMeta",
id, attribute, name, content, key);
id, attribute, name, content);
return Task.CompletedTask;
}
catch
@ -105,6 +105,7 @@ namespace Oqtane.UI
}
}
// external scripts need to specify src, inline scripts need to specify id and content
public Task IncludeScript(string id, string src, string integrity, string crossorigin, string content, string location)
{
try