Disable the popout when there’s no key for the channel and it’s not a DM

This commit is contained in:
Samuel Elliott 2018-08-23 20:44:14 +01:00
parent 74d5d3540f
commit 40acb33bbd
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<template>
<div class="bd-e2eeTaContainer">
<v-popover popoverClass="bd-popover bd-e2eePopover" placement="top-start">
<v-popover popoverClass="bd-popover bd-e2eePopover" placement="top-start" :disabled="error && DiscordApi.currentChannel.type !== 'DM'">
<div v-if="error" class="bd-e2eeTaBtn bd-e2eeLock bd-error">
<MiLock v-tooltip="error" />
</div>