From 5a17a88676bd69600beffdfafe5dd4c726dcff15 Mon Sep 17 00:00:00 2001 From: Pranshu Aggarwal <70687348+Pranshu1902@users.noreply.github.com> Date: Thu, 27 Oct 2022 18:36:56 +0530 Subject: [PATCH] fixed url (#3837) --- src/Components/Assets/AssetWarrantyCard.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/Assets/AssetWarrantyCard.tsx b/src/Components/Assets/AssetWarrantyCard.tsx index 6b61e830cb7..cd3a3dab40d 100644 --- a/src/Components/Assets/AssetWarrantyCard.tsx +++ b/src/Components/Assets/AssetWarrantyCard.tsx @@ -47,7 +47,9 @@ export default function AssetWarrantyCard(props: { asset: AssetData }) { <> <div className="w-16 text-gray-200 italic">{item[0]} :</div> <a - href={(item[0] === "Email" ? "mailto:" : "") + item[1]} + href={ + (item[0] === "Email" ? "mailto:" : "tel:") + item[1] + } className="text-primary-300 hover:text-primary-400 border-b border-primary-300" > <i className={"mr-1 uil uil-" + item[2]} />