mirror of https://github.com/portainer/portainer
				
				
				
			fix(kube/setup): toggle section on click [EE-4799] (#9107)
							parent
							
								
									58651810bd
								
							
						
					
					
						commit
						2018529add
					
				| 
						 | 
				
			
			@ -56,7 +56,7 @@
 | 
			
		|||
                id="foldingButtonIngControllerSettings"
 | 
			
		||||
                type="button"
 | 
			
		||||
                class="mx-2 !ml-0 inline-flex w-2 items-center justify-center border-0 bg-transparent"
 | 
			
		||||
                ng-click="ctrl.toggleAdvancedIngSettings()"
 | 
			
		||||
                ng-click="ctrl.toggleAdvancedIngSettings($event)"
 | 
			
		||||
              >
 | 
			
		||||
                <pr-icon ng-if="!ctrl.state.isIngToggleSectionExpanded" icon="'chevron-right'"></pr-icon>
 | 
			
		||||
                <pr-icon ng-if="ctrl.state.isIngToggleSectionExpanded" icon="'chevron-down'"></pr-icon>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,7 +85,9 @@ class KubernetesConfigureController {
 | 
			
		|||
    return _.find(this.formValues.IngressClasses, { Type: this.IngressClassTypes.TRAEFIK });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  toggleAdvancedIngSettings() {
 | 
			
		||||
  toggleAdvancedIngSettings($event) {
 | 
			
		||||
    $event.stopPropagation();
 | 
			
		||||
    $event.preventDefault();
 | 
			
		||||
    this.$scope.$evalAsync(() => {
 | 
			
		||||
      this.state.isIngToggleSectionExpanded = !this.state.isIngToggleSectionExpanded;
 | 
			
		||||
    });
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue