Certificate dropdown in nodes page limited to 20 items

When configuring a node and trying to add certificates, the dropdown only shows the first 20 certificates. If you have more than 20 certificates in your system, you can’t select the ones beyond that limit.

Steps to reproduce

  1. Create more than 20 certificates in your Pritunl Zero instance
  2. Go to the Nodes page and open a node for editing
  3. Try to add a certificate using the “Add Certificate” dropdown
  4. Notice only the first 20 certificates appear in the list

Expected behavior

All available certificates should be selectable in the dropdown.

Pull Request: Corrected minor string typos by opragel · Pull Request #3 · pritunl/pritunl-zero · GitHub

This was caused by adding paging to all the resources. I have fixed certificates and also the key field being disabled when creating a new certificate unless the type is toggled. This will be included in the next release.

It is also affecting services loading authorities, policies loading authorities and certificates loading secrets. These will all be fixed in the next release.

As a temporary solution a- can be suffixed to the certificate name to get it to load first. Then after adding it to the node, it can be reverted back to the original name.