microsoft / powerbi-client-angular

Power BI Angular component. This library lets you embed Power BI report, dashboard, dashboard tile, report visual, or Q&A in your Angular application.
Other
135 stars 65 forks source link

Visual constructor and Visual update console.logs unwanted #34

Closed Althain closed 1 year ago

Althain commented 1 year ago

Hello,

Related to version 3.0.5

I keep seeing in the console two events fired: Visual constructor and Visual update despite I passed undefined to eventHandlers.

Can I turn off these console logs?

<powerbi-report [eventHandlers]="undefined">

image

bapat-atharva commented 1 year ago

Could not reproduce this issue, moreover the logs look like from a visual you are using, whiteBoxData ?

Althain commented 1 year ago

Hello, thanks for the response.

I didn't have direct access to powerBI and I don't really work with it, so I don't know how things work. I asked my colleague to enter powerBI page and the logs are present there as well, so they come from BI report.
When I digged in a bit more, I saw those logs on microsoft docs: https://learn.microsoft.com/en-US/power-bi/developer/visuals/highlight?tabs=Standard So most likely someone copy-pasted the examples and the code would have to be edited to remove it.

Anyway it has nothing to do with this library. Apologies for the confusion and thanks for your time.

bapat-atharva commented 1 year ago

No worries, thank you for confirming.