mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	Backport of UI: Fix blank secret on KV create > cancel
Co-authored-by: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com>
This commit is contained in:
		 hc-github-team-secure-vault-core
					hc-github-team-secure-vault-core
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							ca9e8951b0
						
					
				
				
					commit
					fc1297bf6e
				
			
							
								
								
									
										3
									
								
								changelog/22541.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								changelog/22541.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | ```release-note:bug | ||||||
|  | ui: Fix blank page or ghost secret when canceling KV secret create | ||||||
|  | ``` | ||||||
| @@ -342,6 +342,7 @@ export default Route.extend(UnloadModelRoute, { | |||||||
|           ) |           ) | ||||||
|         ) { |         ) { | ||||||
|           version && version.rollbackAttributes(); |           version && version.rollbackAttributes(); | ||||||
|  |           model && model.rollbackAttributes(); | ||||||
|           this.unloadModel(); |           this.unloadModel(); | ||||||
|           return true; |           return true; | ||||||
|         } else { |         } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user