Merge branch '250-file-upload-acceptable-file' into 'dev'

fix for file upload acceptable file type

See merge request keanuapp/keanuapp-weblite!158
This commit is contained in:
N Pex 2023-04-04 13:01:11 +00:00
commit d86ee3b1e3

View file

@ -2,7 +2,7 @@
<div class="chat-root fill-height d-flex flex-column">
<ChatHeader class="chat-header flex-grow-0 flex-shrink-0" v-on:header-click="onHeaderClick" v-on:view-room-details="viewRoomDetails" />
<AudioLayout ref="chatContainer" class="auto-audio-player-root" v-if="useVoiceMode" :room="room"
:events="events" :autoplay="!showRecorder"
:events="events" :autoplay="!showRecorder"
:timelineSet="timelineSet"
:readMarker="readMarker"
:recordingMembers="typingMembers"
@ -181,7 +181,7 @@
</v-container>
<input ref="attachment" type="file" name="attachment" @change="handlePickedAttachment($event)"
accept="image/*|audio/*|video/*|application/pdf" class="d-none" />
accept="image/*, audio/*, video/*, .pdf" class="d-none" />
<div v-if="currentImageInputPath">
<v-dialog v-model="currentImageInputPath" class="ma-0 pa-0" :width="$vuetify.breakpoint.smAndUp ? '50%' : '85%'">
@ -1453,9 +1453,9 @@ export default {
}, 3000);
},
setShowRecorder() {
if (this.canRecordAudio) {
if (this.canRecordAudio) {
this.showRecorder = true;
} else {
} else {
this.showNoRecordingAvailableDialog = true;
}
}