diff --git a/src/Components/Request/RequestPicker.vue b/src/Components/Request/RequestPicker.vue index 54f6138da..31bb11cb0 100644 --- a/src/Components/Request/RequestPicker.vue +++ b/src/Components/Request/RequestPicker.vue @@ -187,7 +187,7 @@ export default { async upload(file) { const data = await loadFileToBase64(file) await this.filesStore.upload({ - name: file.name, + name: file.name.replace(/\.pdf$/i, ''), file: data, }) .then((response) => {