mirror of https://github.com/portainer/portainer
fix(home): exclude snapshots from the home page to improve the loading times EE-5154 (#8626)
parent
ea03024fbc
commit
44582732bb
|
@ -130,7 +130,7 @@ class AuthenticationController {
|
|||
async checkForEndpointsAsync() {
|
||||
try {
|
||||
const isAdmin = this.Authentication.isAdmin();
|
||||
const endpoints = await getEnvironments({ limit: 1 });
|
||||
const endpoints = await getEnvironments({ limit: 1, query: { excludeSnapshots: true } });
|
||||
|
||||
if (this.Authentication.getUserDetails().forceChangePassword) {
|
||||
return this.$state.go('portainer.account');
|
||||
|
|
Loading…
Reference in New Issue