mirror of
https://github.com/portainer/portainer.git
synced 2025-07-28 01:39:39 +02:00
feat(dashboard) remove environment url from dashboard EE-2849 (#6955)
* EE-2849 remove environment url from dashboard * EE-2849 only remove edge env's url * EE-2849 remove logging
This commit is contained in:
parent
b031a30f62
commit
3aacaa7caf
4 changed files with 6 additions and 3 deletions
|
@ -2,6 +2,7 @@ import angular from 'angular';
|
|||
import _ from 'lodash-es';
|
||||
import KubernetesConfigurationHelper from 'Kubernetes/helpers/configurationHelper';
|
||||
import KubernetesNamespaceHelper from 'Kubernetes/helpers/namespaceHelper';
|
||||
import { PortainerEndpointTypes } from 'Portainer/models/endpoint/models';
|
||||
|
||||
class KubernetesDashboardController {
|
||||
/* @ngInject */
|
||||
|
@ -34,6 +35,7 @@ class KubernetesDashboardController {
|
|||
async getAllAsync() {
|
||||
const isAdmin = this.Authentication.isAdmin();
|
||||
const storageClasses = this.endpoint.Kubernetes.Configuration.StorageClasses;
|
||||
this.showEnvUrl = this.endpoint.Type !== PortainerEndpointTypes.EdgeAgentOnDockerEnvironment && this.endpoint.Type !== PortainerEndpointTypes.EdgeAgentOnKubernetesEnvironment;
|
||||
|
||||
try {
|
||||
const [pools, applications, configurations, volumes, tags] = await Promise.all([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue