1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

fix(home): exclude snapshots from the home page to improve the loading times EE-5154 (#8626)

This commit is contained in:
andres-portainer 2023-03-15 15:16:41 -03:00 committed by GitHub
parent ea03024fbc
commit 44582732bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');