I need to check if the current user is the author of the question to allow him to see/use the delete question button. But with my implementation I can´t see the button at all:
<form @submit.prevent="deleteQuestion(question.id)">
<input type="submit" v-if="this.currentUser === question.author" value="Löschen"/>
</form>
I get question.author with a JSON request , currentUser is set during the login.
Thanks for taking the time,
Fierl.