mirror of https://github.com/portainer/portainer
				
				
				
			fix(UI): update application deploy/update messages EE-4005 (#8819)
							parent
							
								
									0f9a0e25f2
								
							
						
					
					
						commit
						731f3959c7
					
				| 
						 | 
				
			
			@ -1044,7 +1044,7 @@ class KubernetesCreateApplicationController {
 | 
			
		|||
      this.formValues.ApplicationOwner = this.Authentication.getUserDetails().username;
 | 
			
		||||
      _.remove(this.formValues.Configurations, (item) => item.SelectedConfiguration === undefined);
 | 
			
		||||
      await this.KubernetesApplicationService.create(this.formValues);
 | 
			
		||||
      this.Notifications.success('Application successfully deployed', this.formValues.Name);
 | 
			
		||||
      this.Notifications.success('Request to deploy application successfully submitted', this.formValues.Name);
 | 
			
		||||
      this.$state.go('kubernetes.applications');
 | 
			
		||||
    } catch (err) {
 | 
			
		||||
      this.Notifications.error('Failure', err, 'Unable to create application');
 | 
			
		||||
| 
						 | 
				
			
			@ -1066,7 +1066,7 @@ class KubernetesCreateApplicationController {
 | 
			
		|||
    try {
 | 
			
		||||
      this.state.actionInProgress = true;
 | 
			
		||||
      await this.KubernetesApplicationService.patch(this.savedFormValues, this.formValues);
 | 
			
		||||
      this.Notifications.success('Success', 'Application successfully updated');
 | 
			
		||||
      this.Notifications.success('Success', 'Request to update application successfully submitted');
 | 
			
		||||
      this.$state.go('kubernetes.applications.application', { name: this.application.Name, namespace: this.application.ResourcePool });
 | 
			
		||||
    } catch (err) {
 | 
			
		||||
      this.Notifications.error('Failure', err, 'Unable to update application');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -281,7 +281,7 @@ class KubernetesDeployController {
 | 
			
		|||
 | 
			
		||||
      await this.StackService.kubernetesDeploy(this.endpoint.Id, method, payload);
 | 
			
		||||
 | 
			
		||||
      this.Notifications.success('Success', 'Manifest successfully deployed');
 | 
			
		||||
      this.Notifications.success('Success', 'Request to deploy manifest successfully submitted');
 | 
			
		||||
      this.state.isEditorDirty = false;
 | 
			
		||||
 | 
			
		||||
      if (this.$state.params.referrer) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue