mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +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 Component from '@glimmer/component';
|
||||||
|
import type SecretEngineModel from 'vault/models/secret-engine';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @module DashboardSecretsEnginesCard
|
* @module DashboardSecretsEnginesCard
|
||||||
@@ -16,7 +17,11 @@ import Component from '@glimmer/component';
|
|||||||
* @param {array} secretsEngines - list of secrets engines
|
* @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() {
|
get filteredSecretsEngines() {
|
||||||
return this.args.secretsEngines?.filter((secretEngine) => secretEngine.shouldIncludeInList);
|
return this.args.secretsEngines?.filter((secretEngine) => secretEngine.shouldIncludeInList);
|
||||||
}
|
}
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
/>
|
/>
|
||||||
<small class="has-left-margin-xs has-text-grey">
|
<small class="has-left-margin-xs has-text-grey">
|
||||||
Updated
|
Updated
|
||||||
{{date-format this.updatedAt "MMM dd, yyyy hh:mm:SS"}}
|
{{date-format this.updatedAt "MMM dd, yyyy hh:mm:ss"}}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
/>
|
/>
|
||||||
<small class="has-left-margin-xs has-text-grey">
|
<small class="has-left-margin-xs has-text-grey">
|
||||||
Updated
|
Updated
|
||||||
{{date-format @updatedAt "MMM dd, yyyy hh:mm:SS"}}
|
{{date-format @updatedAt "MMM dd, yyyy hh:mm:ss"}}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|||||||
Reference in New Issue
Block a user