feat(SW-1717): rewrite select-rate to show all variants of rate-cards
This commit is contained in:
committed by
Michael Zetterberg
parent
adde77eaa9
commit
ebaea78fb3
@@ -31,11 +31,11 @@ export default async function ContactRow({ contact }: ContactRowProps) {
|
||||
|
||||
let Icon = null
|
||||
if (contact.contact_field.includes("email")) {
|
||||
Icon = function (props: MaterialIconSetIconProps) {
|
||||
Icon = function MailIcon(props: MaterialIconSetIconProps) {
|
||||
return <MaterialIcon icon="mail" {...props} />
|
||||
}
|
||||
} else if (contact.contact_field.includes("phone")) {
|
||||
Icon = function (props: MaterialIconSetIconProps) {
|
||||
Icon = function PhoneIcone(props: MaterialIconSetIconProps) {
|
||||
return <MaterialIcon icon="phone" {...props} />
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user