Skip to content

Commit 80f4ffe

Browse files
committed
adding a new report column in qc view
1 parent a2eca20 commit 80f4ffe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pages/hermes/qc/index.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,21 @@ const getIcon = (status) => {
204204
</Column>
205205
<Column field="uploaded_by" header="Uploader"></Column>
206206
<Column field="phenotype" header="Phenotype"></Column>
207+
<Column header="Report">
208+
<template #body="{ data }">
209+
<div v-if="data.qc_status !== 'SUBMITTED TO QC' &&
210+
data.qc_status !== 'FAILED QC'"
211+
>
212+
<nuxt-link :to="`https://hermes-qc.s3.amazonaws.com/images/${data.id}/gwas_qc.html`" target="_blank">
213+
<Button as="a" label="QC Report" rel="noopener" size="small" outlined />
214+
</nuxt-link>
215+
</div>
216+
<div v-else>
217+
&nbsp;
218+
</div>
219+
</template>
220+
</Column>
221+
207222
<Column field="qc_status" header="Status">
208223
<template #body="{ data }">
209224
<span

0 commit comments

Comments
 (0)