Make sure file mode works
This commit is contained in:
parent
ce6398685f
commit
06ad4ca644
5 changed files with 14 additions and 14 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue