Skip to content

Commit 17e1518

Browse files
committed
Change based on row selection
1 parent 56b49f1 commit 17e1518

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/annotations/ListView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<Button class="ml-auto" label="Start annotating" icon="pi pi-arrow-right" iconPos="right"
66
@click="onStartAnnotationClicked" />
77
</div>
8-
<DataView :value="annotationsArray" dataKey='id' :rows="numRows" :total-records="annotationsTotalCount" lazy
8+
<DataView :value="annotationsArray" dataKey='id' v-model:rows="numRows" :total-records="annotationsTotalCount" lazy
99
paginator :rowsPerPageOptions="[5, 10, 25, 50]" @page="onPageChange"
1010
paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown CurrentPageReport"
1111
currentPageReportTemplate="({totalRecords} items)">

src/views/identification_task/ListView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
<Button icon="pi pi-filter-slash" label="Clear" />
7373
</div>
7474
</Panel>
75-
<DataView :value="identificationTasksArray" dataKey='observation.uuid' :rows="numRows"
75+
<DataView :value="identificationTasksArray" dataKey='observation.uuid' v-model:rows="numRows"
7676
:total-records="identificationTasksTotalCount" :layout="layout" lazy paginator
7777
:rowsPerPageOptions="[5, 10, 25, 50]" @page="onPageChange"
7878
paginatorTemplate="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown CurrentPageReport"

0 commit comments

Comments
 (0)