diff --git a/src/views/import/ImportGermplasm.vue b/src/views/import/ImportGermplasm.vue index 90a6438ac..eace0b93a 100644 --- a/src/views/import/ImportGermplasm.vue +++ b/src/views/import/ImportGermplasm.vue @@ -24,6 +24,7 @@ v-bind:import-type-name="'Germplasm'" v-bind:confirm-import-state="confirmImportState" v-bind:userInput="germplasmList" + v-bind:initial-page-size="200" v-on="$listeners" v-on:finished="importFinished" > @@ -95,6 +96,7 @@ v-bind:pagination="previewData.pagination" v-bind:rowClasses="constructRowClasses(previewData.import)" v-on:show-error-notification="$emit('show-error-notification', $event)" + v-bind:is-show-all-enabled="false" > \ No newline at end of file diff --git a/src/views/import/ImportTemplate.vue b/src/views/import/ImportTemplate.vue index d0886434c..525dbd156 100644 --- a/src/views/import/ImportTemplate.vue +++ b/src/views/import/ImportTemplate.vue @@ -187,6 +187,9 @@ export default class ImportTemplate extends ProgramsBase { @Prop() userInput!: any; + @Prop({default: 10}) + initialPageSize!: number; + private systemImportTemplateId!: string; private currentImport?: ImportResponse = new ImportResponse({}); private previewData: any[] = []; @@ -502,7 +505,7 @@ export default class ImportTemplate extends ProgramsBase { this.importService.send(ImportEvent.IMPORT_SUCCESS); // TODO: Temp pagination this.pagination.totalCount = previewResponse.preview.rows.length; - this.pagination.pageSize = 10; + this.pagination.pageSize = this.initialPageSize; this.pagination.currentPage = 1; this.pagination.totalPages = this.pagination.totalCount.valueOf() / this.pagination.pageSize.valueOf(); }