fix: Show credential purpose only when populated

This commit is contained in:
Susmitha Girumala committed 2021-06-25 12:30:29 -04:00
1 parent 86ebba9394
commit 43cc25b0a5
1 file changed
+1 -3
@@ -41,9 +41,7 @@
<Card
@heading={{concat
(t 'resources.session.credential.title')
' ('
credential.purpose
')'
(if credential.purpose (concat ' (' credential.purpose ')'))
}}
@icon='app-icons/credential'
>