Make sure file mode works

This commit is contained in:
N-Pex 2025-08-25 11:38:41 +02:00
parent ce6398685f
commit 06ad4ca644
5 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
<template>
<div v-bind="{ ...$attrs }" class="send-attachments">
<v-btn
v-if="showBackButton"
v-if="!fileModeMode"
class="back-button clickable"
icon="arrow_back"
size="default"
@ -229,10 +229,10 @@ export default defineComponent({
},
},
showBackButton: {
fileModeMode: {
type: Boolean,
default: function () {
return true;
return false;
},
},
@ -323,7 +323,9 @@ export default defineComponent({
},
sendAll() {
this.status = this.mainStatuses.SENDING;
this.$emit("close");
if (!this.fileModeMode) {
this.$emit("close");
}
this.batch
.send(this.messageInput && this.messageInput.length > 0 ? this.messageInput : this.defaultRootMessageText)
.then(() => {