Added Phases to Projects

This commit is contained in:
2024-02-15 22:49:09 +01:00
parent 2fc45b3ea0
commit 1a0b7288df
37 changed files with 2342 additions and 1483 deletions

View File

@@ -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"
>