Skip to content

Commit

Permalink
1644 Fix uuid in multi-file-input (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
markostreich authored Apr 30, 2024
1 parent aca0eb7 commit 783e561
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default defineComponent({
const documents = ref<DocumentData[]>([]);
const errorMessage = ref<string>("");
const isLoading = ref<boolean>(false);
const uuid = ref("");
const uuid = ref<string>("");
const maxFiles = props.schema.maxFiles || 10;
const maxFileSize = props.schema.maxFileSize || 10;
const maxTotalSize = props.schema.maxTotalSize;
Expand Down Expand Up @@ -150,7 +150,7 @@ export default defineComponent({
//append uuid to path if enabled
if (props.schema.uuidEnabled) {
path = path !== '' ? path + "/" + uuid : uuid;
path = path !== '' ? path + "/" + uuid.value : uuid.value;
}
return path;
Expand Down

0 comments on commit 783e561

Please sign in to comment.