Gravatar null check

This commit is contained in:
Roman Cervantes 2019-12-03 15:50:54 -07:00
parent bc76ad90d1
commit 6b56438807

View file

@ -1,6 +1,6 @@
<template lang="html"> <template lang="html">
<modal title="Settings"> <modal title="Settings">
<gravatar :email="user.email" class="avatar" /> <gravatar :email="user.email" class="avatar" v-if="user && user.email" />
<div <div
slot="content" slot="content"