Added Phases to Projects
This commit is contained in:
@@ -74,8 +74,11 @@ const downloadSelected = async () => {
|
||||
// Map the response to an array of objects containing the file name and blob
|
||||
const downloadedFiles = response.map((result, index) => {
|
||||
if (result.status === "fulfilled") {
|
||||
|
||||
console.log(files[index].split("/")[files[index].split("/").length -1])
|
||||
|
||||
return {
|
||||
name: files[index],
|
||||
name: files[index].split("/")[files[index].split("/").length -1],
|
||||
blob: result.value.data,
|
||||
};
|
||||
}
|
||||
@@ -109,7 +112,7 @@ const downloadSelected = async () => {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<InputGroup>
|
||||
<Toolbar>
|
||||
<UButton @click="uploadModalOpen = true">Hochladen</UButton>
|
||||
<UButton
|
||||
@click="downloadSelected"
|
||||
@@ -127,8 +130,8 @@ const downloadSelected = async () => {
|
||||
</USelectMenu>
|
||||
|
||||
|
||||
</InputGroup>
|
||||
<div >
|
||||
</Toolbar>
|
||||
<div class="scrollList">
|
||||
<USlideover
|
||||
v-model="uploadModalOpen"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user