Skip to content

Commit

Permalink
delete coments and remove undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
deletidev committed Dec 14, 2023
1 parent 8506ae9 commit aee693a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,6 @@ export const mapRelevantLinksToVm = (relevantLinks: ManfredRelevantLink[]): Rele
}));
};

// export const phoneNumbersToVm = (
// phoneNumbers: {
// countryCode?: string;
// number?: string;
// }[]
// ): PhoneNumbers[] => {
// return phoneNumbers.map(phone => ({
// countryCode: phone.countryCode,
// number: phone.number,
// }));
// };

export const mapFromMacCvToProfileSectionVm = (cv: ManfredAwesomicCV): ProfileSectionVm => {
const name = cv?.aboutMe?.profile?.name ?? '';
const surnames = cv?.aboutMe?.profile?.surnames ?? '';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%_ if (profile.relevantLinks && profile.relevantLinks.length !==0 || profile.emails && profile.emails.length !==0 || profile.city && profile.country !== "undefined"|| profile.country && profile.country !== "undefined" || profile.phoneNumbers && profile.phoneNumbers.length !==0) { -%>
<%_ if (profile.relevantLinks && profile.relevantLinks.length !==0 || profile.emails && profile.emails.length !==0 || profile.city || profile.country || profile.phoneNumbers && profile.phoneNumbers.length !==0) { -%>
<section class="section links">
<h2 class="title"><%- labels.RELEVANTS_LINKS_HEADING %></h2>
<div class="links__container">
Expand Down

0 comments on commit aee693a

Please sign in to comment.