fix: send button

This commit is contained in:
ThatOneCalculator 2023-03-17 09:31:39 -07:00
parent f1bbc973db
commit d437653729

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>