Fix a few types: relax contact, Email->Phone
This commit is contained in:
parent
80b069e9b6
commit
8f934251ae
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ function getLabelForEmail(method: Email, i18n: Localizer): string {
|
|||
}
|
||||
}
|
||||
|
||||
function getLabelForPhone(method: Email, i18n: Localizer): string {
|
||||
function getLabelForPhone(method: Phone, i18n: Localizer): string {
|
||||
switch (method.type) {
|
||||
case ContactType.CUSTOM:
|
||||
return method.label || i18n('phone');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue