As designed View profile posts -> Tab Conditional

Russ

Well-known member
Just curious on the member_view template the profile posts tab isn't wrapped in the following conditional:

Code:
<xen:if is="{$canViewProfilePosts}">

Instead I just see it in the content of the <li> for the profile posts themselves. Wasn't sure if this was intentional but I figure if I revoke "view profile posts" there should be no reason the tab should load at all(I've edited it out for now so no biggie but figured I'd mention it).
 
As it stands, it's intentional. It's mostly because the next tab is potentially recent activity which requires an additional Ajax request to fetch.
 
Back
Top Bottom