PCP list on contact dashboard
You may want to try using Smarty debugging.  


Turn on debugging at Administer menu > System Settings > Debugging 
and Error Handling.
Load the same URL, but add "&amp;SmartyDebug=1" to the end.
You may need to enable pop-ups in your browser to see the window that appears.


Hopefully access to the Smarty debugging will make it clear what the value of $row.component is.  

Alternatively, you could just add "$row.component" to the template inside the "if" statement.  I'd guess it's not showing either "event" or "contribute", but something else altogether.