mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
fix(home): exclude snapshots from the home page to improve the loading times EE-5154 (#8626)
This commit is contained in:
parent
ea03024fbc
commit
44582732bb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue