Instead of v-if="currentUser && currentUser.id && ..." you can just write v-if="canDoStuff(currentUser)"