From ba4f6e9e1a0cf5b9df207cf65231ddf425e32d18 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 29 Jan 2023 10:00:38 +0100 Subject: [PATCH] feat: remove url protocol --- components/status/StatusPreviewCardNormal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/status/StatusPreviewCardNormal.vue b/components/status/StatusPreviewCardNormal.vue index 9c6cd62e..f52d6972 100644 --- a/components/status/StatusPreviewCardNormal.vue +++ b/components/status/StatusPreviewCardNormal.vue @@ -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}` + finalProviderName = `${props.card.providerName} · ${props.cleanSharedLink.replace('https://', '')}` } return finalProviderName