fix: send button

This commit is contained in:
ThatOneCalculator 2023-03-17 09:31:39 -07:00
parent 964bc9708a
commit d3d21aa8ea
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -18,7 +18,7 @@
<button class="_button" @click="chooseFile"><i class="ph-upload ph-bold ph-lg"></i></button>
<button class="_button" @click="insertEmoji"><i class="ph-smiley ph-bold ph-lg"></i></button>
<button class="send _button" :disabled="!canSend || sending" :title="i18n.ts.send" @click="send">
<template v-if="!sending"><i class="ph-paper-plane-tilt-bold ph-lg"></i></template><template v-if="sending"><i class="ph-circle-notch ph-bold ph-lg fa-pulse ph-fw ph-lg"></i></template>
<template v-if="!sending"><i class="ph-paper-plane-tilt ph-bold ph-lg"></i></template><template v-if="sending"><i class="ph-circle-notch ph-bold ph-lg fa-pulse ph-fw ph-lg"></i></template>
</button>
</div>
</footer>