mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 10:37:56 +00:00 
			
		
		
		
	Backport 1.15.x: Secrets engine + learn more card to ts and updated at bug on dashboard (#22780)
This commit is contained in:
		| @@ -4,6 +4,7 @@ | ||||
|  */ | ||||
| 
 | ||||
| import Component from '@glimmer/component'; | ||||
| import type SecretEngineModel from 'vault/models/secret-engine'; | ||||
| 
 | ||||
| /** | ||||
|  * @module DashboardSecretsEnginesCard | ||||
| @@ -16,7 +17,11 @@ import Component from '@glimmer/component'; | ||||
|  * @param {array} secretsEngines - list of secrets engines | ||||
|  */ | ||||
| 
 | ||||
| export default class DashboardSecretsEnginesCard extends Component { | ||||
| interface Args { | ||||
|   secretsEngines: SecretEngineModel[]; | ||||
| } | ||||
| 
 | ||||
| export default class DashboardSecretsEnginesCard extends Component<Args> { | ||||
|   get filteredSecretsEngines() { | ||||
|     return this.args.secretsEngines?.filter((secretEngine) => secretEngine.shouldIncludeInList); | ||||
|   } | ||||
| @@ -50,7 +50,7 @@ | ||||
|         /> | ||||
|         <small class="has-left-margin-xs has-text-grey"> | ||||
|           Updated | ||||
|           {{date-format this.updatedAt "MMM dd, yyyy hh:mm:SS"}} | ||||
|           {{date-format this.updatedAt "MMM dd, yyyy hh:mm:ss"}} | ||||
|         </small> | ||||
|       </div> | ||||
|     {{/if}} | ||||
|   | ||||
| @@ -79,7 +79,7 @@ | ||||
|       /> | ||||
|       <small class="has-left-margin-xs has-text-grey"> | ||||
|         Updated | ||||
|         {{date-format @updatedAt "MMM dd, yyyy hh:mm:SS"}} | ||||
|         {{date-format @updatedAt "MMM dd, yyyy hh:mm:ss"}} | ||||
|       </small> | ||||
|     </div> | ||||
|   {{else}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kianna
					Kianna