Skip to content
Snippets Groups Projects
Commit 66bacf3c authored by Thilo Wischmeyer's avatar Thilo Wischmeyer Committed by Thilo Wischmeyer
Browse files

Updated some more data tables

parent ca845745
No related branches found
No related tags found
1 merge request!247Resolve "Update Vuetify"
...@@ -5,10 +5,12 @@ ...@@ -5,10 +5,12 @@
</v-card-title> </v-card-title>
<v-data-table <v-data-table
:headers="headers" :headers="headers"
:pagination="pagination" :items-per-page="-1"
sort-by="count"
sort-desc
:loading="loading" :loading="loading"
:items="summedLabelCounts" :items="summedLabelCounts"
hide-actions hide-default-footer
> >
<template <template
slot="items" slot="items"
...@@ -30,10 +32,12 @@ ...@@ -30,10 +32,12 @@
</v-card-title> </v-card-title>
<v-data-table <v-data-table
:headers="headers" :headers="headers"
:pagination.sync="pagination" :items-per-page="-1"
sort-by="count"
sort-desc
:loading="loading" :loading="loading"
:items="labelCounts" :items="labelCounts"
hide-actions hide-default-footer
> >
<template <template
slot="items" slot="items"
...@@ -64,12 +68,6 @@ export default class LabelStatistics extends Vue{ ...@@ -64,12 +68,6 @@ export default class LabelStatistics extends Vue{
labelStatistics: LabelStatisticsForSubType[] = [] labelStatistics: LabelStatisticsForSubType[] = []
timer = 0 timer = 0
pagination = {
descending: true,
sortBy: 'count',
rowsPerPage: -1
}
headers = [ headers = [
{ {
text: 'Label', text: 'Label',
......
<template> <template>
<div class="row my-2 justify-content-center"> <div class="row my-2 justify-content-center">
<v-data-table <v-data-table
hide-actions hide-default-footer
:headers="headers" :headers="headers"
:items="submissions" :items="submissions"
item-key="type.pk" item-key="type.pk"
......
...@@ -13,9 +13,8 @@ ...@@ -13,9 +13,8 @@
<v-data-table <v-data-table
:headers="headers" :headers="headers"
:items="tutors" :items="tutors"
:search="search"
item-key="pk" item-key="pk"
hide-actions hide-default-footer
> >
<template <template
slot="items" slot="items"
...@@ -90,7 +89,6 @@ import { Tutor } from '@/models' ...@@ -90,7 +89,6 @@ import { Tutor } from '@/models'
@Component @Component
export default class TutorList extends Vue { export default class TutorList extends Vue {
search = ''
headers = [ headers = [
{ {
text: 'Name', text: 'Name',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment