Skip to content
Snippets Groups Projects
Commit 2cd2742a authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

genericTable : rename props analysis to items

parent a0d9ab23
No related branches found
No related tags found
No related merge requests found
Pipeline #80157 canceled
<template>
<v-data-table
:headers="headers"
:items="analysis"
:items="items"
:sort-by="sortBy"
:sort-desc="sortDesc"
:search="search"
......@@ -62,7 +62,7 @@ import InvocationState from './InvocationState.vue'
export default {
components: { AnalysisState, InvocationState },
props: {
analysis: { type: Array, default: () => [] },
items: { type: Array, default: () => [] },
headers: { type: Array, default: () => [] },
sortBy: { type: Array, default: () => [] },
sortDesc: { type: Array, default: () => [] },
......
<template>
<v-card>
<generic-table
:analysis="sanitizedAnalysis"
:items="sanitizedAnalysis"
:headers="headers"
:sort-by="['id']"
:loading="$fetchState.pending"
......
<template>
<v-card>
<generic-table
:analysis="sanitizedExperiments"
:items="sanitizedExperiments"
:headers="headers"
:sort-by="['id']"
:loading="$fetchState.pending"
......
......@@ -232,7 +232,7 @@
<v-card-text>
<v-card outlined>
<generic-table
:analysis="sanitizedExperiment.analysis_set"
:items="sanitizedExperiment.analysis_set"
:headers="analysisHeaders"
title="Linked analysis"
:footer-props="analysisFooterProps"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment