Add a new mode to AuthorityConfidenceStateDirective to configure use fontawesome icons instead of class defined in style property

This commit is contained in:
Toni Prieto
2024-02-12 22:57:28 +01:00
parent f3a64bcadc
commit b4a9a0dd1e
7 changed files with 143 additions and 20 deletions

View File

@@ -147,19 +147,23 @@ export const environment: BuildConfig = {
confidence: [
{
value: 600,
style: 'text-success'
style: 'text-success',
icon: 'fa-circle-check'
},
{
value: 500,
style: 'text-info'
style: 'text-info',
icon: 'fa-gear'
},
{
value: 400,
style: 'text-warning'
style: 'text-warning',
icon: 'fa-circle-question'
},
{
value: 'default',
style: 'text-muted'
style: 'text-muted',
icon: 'fa-circle-xmark'
},
]
}