Bugfix: send test message button not showing if there is no profile picture

This commit is contained in:
alexbcberio committed 2020-05-19 00:22:58 +02:00
1 parent 38a8869ec5
commit 04964b9a5d
1 file changed
+1 -1
@@ -209,7 +209,7 @@
<span uk-icon="check"></span>
Save
</button>
<button class="uk-button uk-button-default" @click="sendTestMessage" v-if="avatarPreview && !avatarPreview.startsWith('data:image')">
<button class="uk-button uk-button-default" @click="sendTestMessage" v-if="!avatarPreview || !avatarPreview.startsWith('data:image')">
<span uk-icon="forward"></span>
Send test message
</button>