01-09-2023

This commit is contained in:
Jonathan Jenne
2023-09-04 10:28:09 +02:00
parent d0d845bfd4
commit 0306ab1992
5 changed files with 199 additions and 65 deletions

View File

@@ -24,7 +24,7 @@
if (firstRender)
{
var module = await JS.InvokeAsync<IJSObjectReference>("import", "./js/app.js");
await module.InvokeVoidAsync("App.loadPDFFromUrl", "#container", $"/api/download/{document.Id}");
await module.InvokeVoidAsync("App.loadPDFFromUrl", "#container", document.Id);
}
}
}