Merge branch 'vue3' into vue3

This commit is contained in:
Omar Hussein 2024-03-25 11:04:14 -04:00 committed by GitHub
commit 461d7a55fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -51,8 +51,7 @@ export async function upload(
clearInterval(CURRENT_UPLOAD_LIST[filePath].interval); clearInterval(CURRENT_UPLOAD_LIST[filePath].interval);
} }
delete CURRENT_UPLOAD_LIST[filePath]; delete CURRENT_UPLOAD_LIST[filePath];
reject("Upload failed: " + error); reject(new Error(`Upload failed: ${error.message}`));
},
onProgress: function (bytesUploaded) { onProgress: function (bytesUploaded) {
const fileData = CURRENT_UPLOAD_LIST[filePath]; const fileData = CURRENT_UPLOAD_LIST[filePath];
fileData.currentBytesUploaded = bytesUploaded; fileData.currentBytesUploaded = bytesUploaded;

View File

@ -1,7 +1,5 @@
<template> <template>
<div> <ModalsContainer />
<ModalsContainer />
</div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">