5 ms·
then write a method for it. Instead of v-if="currentUser && currentUser.id && ..." you can just write v-if="canDoStuff(currentUser)"
by kangoo1707 8y ago
then write a method for it.
Instead of v-if="currentUser && currentUser.id && ..."
you can just write v-if="canDoStuff(currentUser)"