Disable the popout when there’s no key for the channel and it’s not a DM
This commit is contained in:
parent
74d5d3540f
commit
40acb33bbd
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="bd-e2eeTaContainer">
|
<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">
|
<div v-if="error" class="bd-e2eeTaBtn bd-e2eeLock bd-error">
|
||||||
<MiLock v-tooltip="error" />
|
<MiLock v-tooltip="error" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue