{ currentItemIndex = index }"
+ @click="
+ () => {
+ currentItemIndex = index;
+ }
+ "
>
@@ -142,7 +145,6 @@
full-width
variant="solo"
flat
- auto-grow
v-model="messageInput"
no-resize
class="input-area-text"
@@ -206,8 +208,8 @@ export default defineComponent({
defaultRootMessageText: {
type: String,
default: function () {
- return ""
- }
+ return "";
+ },
},
showBackButton: {
@@ -217,6 +219,13 @@ export default defineComponent({
},
},
+ title: {
+ type: String,
+ default: function () {
+ return "";
+ },
+ },
+
batch: {
type: Object,
default: function () {
@@ -254,13 +263,6 @@ export default defineComponent({
}
return undefined;
},
- currentItemHasImagePreview() {
- return (
- this.currentItemIndex >= 0 &&
- this.currentItemIndex < this.batch.attachments.length &&
- this.batch.attachments[this.currentItemIndex].src
- );
- },
},
watch: {
"batch.attachments": {