mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	 e61bd967e3
			
		
	
	e61bd967e3
	
	
	
		
			
			* move script to scripts folder * add docfy to router and scripts * add docfy to router and scripts * fix jsdoc syntax * add component markdown files to gitignore * improve error handling for scripts * tidy up remaining jsdoc syntax * add sample jsdoc components * add known issue info * make not using multi-line components clearer * make generating docs clearer * update copy * final how to docfy cleanup * fix ts file @module syntax * fix read more syntax * make docfy typescript compatible
		
			
				
	
	
		
			27 lines
		
	
	
		
			567 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			567 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /**
 | |
|  * Copyright (c) HashiCorp, Inc.
 | |
|  * SPDX-License-Identifier: BUSL-1.1
 | |
|  */
 | |
| 
 | |
| import Component from '@glimmer/component';
 | |
| /**
 | |
|  * @module UpgradePage
 | |
|  *
 | |
|  * @example
 | |
|  * <UpgradePage @title="Namespaces" @minimumEdition="Vault Enterprise Pro" />
 | |
|  *
 | |
|  */
 | |
| 
 | |
| export default class UpgradePage extends Component {
 | |
|   get minimumEdition() {
 | |
|     return this.args.minimumEdition || 'Vault Enterprise';
 | |
|   }
 | |
|   get title() {
 | |
|     return this.args.title || 'Vault Enterprise';
 | |
|   }
 | |
| 
 | |
|   get featureName() {
 | |
|     return this.title === 'Vault Enterprise' ? 'this feature' : this.title;
 | |
|   }
 | |
| }
 |