Skip to content

Commit

Permalink
not to show button 'Or attach to the existing image' during upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Nov 14, 2023
1 parent 30aae8f commit d77e714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/FileUploadModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<v-card-actions>
<v-spacer></v-spacer>
<v-btn variant="outlined" min-width="0" v-if="messageIdToAttachFiles" @click="onAttachFilesToMessage()" :title="$vuetify.locale.t('$vuetify.attach_files_to_message')"><v-icon size="large">mdi-attachment-plus</v-icon></v-btn>
<v-btn variant="outlined" min-width="0" v-if="messageIdToAttachFiles && !fileInputQueueHasElements" @click="onAttachFilesToMessage()" :title="$vuetify.locale.t('$vuetify.attach_files_to_message')"><v-icon size="large">mdi-attachment-plus</v-icon></v-btn>
<template v-if="!limitError && fileInputQueueHasElements">
<v-btn color="primary" variant="flat" @click="upload()">{{ $vuetify.locale.t('$vuetify.upload') }}</v-btn>
</template>
Expand Down

0 comments on commit d77e714

Please sign in to comment.