forked from Mirrors/elk
Update components/status/StatusPreviewCardNormal.vue
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
ba4f6e9e1a
commit
b8f492a255
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const providerName = $computed(() => {
|
|||
if (props.card.providerName) {
|
||||
finalProviderName = props.card.providerName
|
||||
if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink)
|
||||
finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace('https://', '')}`
|
||||
finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace(/^https?:\/\//, '')}`
|
||||
}
|
||||
|
||||
return finalProviderName
|
||||
|
|
Loading…
Reference in a new issue