forked from Mirrors/elk
feat: remove url protocol
This commit is contained in:
parent
f99d88a9e3
commit
ba4f6e9e1a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const providerName = $computed(() => {
|
||||||
if (props.card.providerName) {
|
if (props.card.providerName) {
|
||||||
finalProviderName = props.card.providerName
|
finalProviderName = props.card.providerName
|
||||||
if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink)
|
if (props.cleanSharedLink && finalProviderName !== props.cleanSharedLink)
|
||||||
finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink}`
|
finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace('https://', '')}`
|
||||||
}
|
}
|
||||||
|
|
||||||
return finalProviderName
|
return finalProviderName
|
||||||
|
|
Loading…
Reference in a new issue