Skip to content

Commit

Permalink
ref: warning liink
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanpowell88 committed May 16, 2023
1 parent 6b449a5 commit 27100e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/frontend-shared/src/warning/Warning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ let message = computed(() => {
}
if (props.helpLinkHref) {
return `${props.message } <span class="ml-[4px]"><a href="${props.helpLinkHref}" class="text-indigo-500 hocus-link-default">${t('links.learnMoreButton')}</a></span>`
const learnMoreLabel = t('links.learnMoreButton')
return `${props.message} [${learnMoreLabel}](${props.helpLinkHref})`
}
return props.message
Expand Down

0 comments on commit 27100e3

Please sign in to comment.