
<iframe src="@source"
        style="border:none"
        width="@WebReport.Width"
        height="@WebReport.Height">
</iframe>


 @code {
     [Parameter]
     public WebReport WebReport { get; set; }

     string source;

     protected override void OnParametersSet()
     {
         base.OnParametersSet();

         var designerLocale = WebReport.Designer.Locale.IsNullOrWhiteSpace() ? "" : $"&lang={WebReport.Designer.Locale}";

         source = $"{WebReport.Designer.Path}?uuid={WebReport.ID}{WebUtils.GetARRAffinity()}{designerLocale}";
     }
}
