Skip to content

Commit

Permalink
revise stats columns
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolarosa committed Jun 2, 2020
1 parent 6c0a4d3 commit 4ec6816
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/components/RenderDataTable.component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:data="index"
:height="height"
width="800"
:default-sort="{ prop: 'duration', order: 'ascending' }"
:default-sort="{ prop: 'file', order: 'ascending' }"
:highlight-current-row="true"
:row-style="{ cursor: 'pointer' }"
size="small"
Expand Down Expand Up @@ -48,8 +48,15 @@
}}</template>
</el-table-column>
<el-table-column
prop="statistics.percentageFilled"
label="% Filled"
prop="statistics.coveredByAnnotations"
label="% Covered by Annotations"
width="120"
sortable="custom"
align="center"
></el-table-column>
<el-table-column
prop="statistics.annotationsWithContent.percentage"
label="% Annotations with Content"
width="120"
sortable="custom"
align="center"
Expand Down Expand Up @@ -137,7 +144,7 @@ export default {
pageSize: 10,
currentPage: 1,
sort: {
prop: "statistics.percentageFilled",
prop: "statistics.file",
order: "ascending",
},
};
Expand Down

0 comments on commit 4ec6816

Please # to comment.