diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-11-14 08:52:59 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-11-14 08:52:59 +0100 |
commit | 71300fa1aebd76d448cd810e32b7bfa5569afb29 (patch) | |
tree | afe474c80ef563b62aa7596d8b5916cbb9ce53da /app/src/views | |
parent | 16b3de5c9fb538280da185c4b98d841b83566cf6 (diff) |
Check if variable has a value first
Diffstat (limited to 'app/src/views')
-rw-r--r-- | app/src/views/UserInfo.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/views/UserInfo.vue b/app/src/views/UserInfo.vue index f317cbd..04259da 100644 --- a/app/src/views/UserInfo.vue +++ b/app/src/views/UserInfo.vue @@ -2,7 +2,7 @@ <ion-page> <m6-header /> <ion-content :fullscreen="true"> - <div> + <div v-if="me"> <p>ID: {{ me.id }}</p> <p>Name: {{ me.name }}</p> <p>Email: {{ me.email }}</p> |