I have a list of instances of an Apex Class (see the picture)
pcEntryAndOppLine is my variable with the list of instances,
this.temp = JSON.parse(JSON.stringify(this.pcEntryAndOppLine));
and I share temp instead of pcEntryAndOppLine, then the child LWC will receive the list and will be able to print it in a for loop (I dont know why, I you can help me to understand this also I will appreciate it!)
How Can I have that variable working as another one (I am sharing the record Id and other variables and it works as expected.)
If you need more info please ask for it, thanks in advance.
The requirement is asking for having highlights based on profiles, but as we know compact layouts are applied to the whole system not by profile.
I am not sure how to fix this, any help is appreciated.