Right now the plugin only loads the first page with a page size of 2000 for the tenant options.
tenant-option-management\tenant-option-management.service.ts
getAllOptions() {
return this.tenantOption
.list({
pageSize: 2000,
})
.then((res) => res.data.map((o) => ({ id: `${o.category}-${o.key}`, value: o.value })));
}
It's unusual, but there could be use cases, which have more than 2000 tenant options. In this case, it might happen that not all options are displayed correctly, because they can't be found on the page loaded.
Proposed Solution
Update the query to include query parameter withTotalPages
and load all available pages for tenant options.