Let user download P1s from the Sequences tab

This commit is contained in:
D. Berge
2023-08-30 14:08:28 +02:00
parent 70cf59bb4c
commit 2cb96c0252

View File

@@ -292,9 +292,13 @@
<v-list-item v-for="(path, index) in item.raw_files" <v-list-item v-for="(path, index) in item.raw_files"
key="index" key="index"
link link
title="View the shot log" title="Download file"
:href="`/api/files${path}`"
> >
{{ basename(path) }} {{ basename(path) }}
<v-list-item-action>
<v-icon right small>mdi-cloud-download</v-icon>
</v-list-item-action>
</v-list-item> </v-list-item>
</v-list-group> </v-list-group>
<v-list-group value="true" v-if="item.final_files"> <v-list-group value="true" v-if="item.final_files">
@@ -308,10 +312,13 @@
</template> </template>
<v-list-item v-for="(path, index) in item.final_files" <v-list-item v-for="(path, index) in item.final_files"
key="index" key="index"
link title="Download file"
title="View the shot log" :href="`/api/files${path}`"
> >
{{ basename(path) }} {{ basename(path) }}
<v-list-item-action>
<v-icon right small>mdi-cloud-download</v-icon>
</v-list-item-action>
</v-list-item> </v-list-item>
</v-list-group> </v-list-group>
</v-list> </v-list>