Skip to content

Commit

Permalink
added department
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaakher committed Mar 17, 2022
1 parent 48ecd94 commit b514f2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ lightweight javascript library to generate vCards (.vcf)
# Upcoming updates
- [ ] Add Logo imagedata
- [ ] Add Photo imagedata
- [ ] Add department


## Getting Started
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ exports.createVCard = function (vc) {
isEmpty("TITLE;CHARSET=UTF-8:", vc.title, nl) +
isEmpty("NICKNAME;CHARSET=UTF-8:", vc.nickname, nl) +
isEmpty("NOTE;CHARSET=UTF-8:", vc.notes, nl) +
isEmpty("ORG;CHARSET=UTF-8:", vc.organization, nl) +
isEmpty("ORG;CHARSET=UTF-8:", vc.organization, vc.department ? ";" : nl) +
isEmpty("", vc.department, nl) +
isEmpty("ROLE;CHARSET=UTF-8:", vc.role, nl) +
(allEmails ? allEmails : "") +
(allNumbers ? allNumbers : "") +
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://sikka-software.github.io/vcardi",
"name": "@sikka/vcardi",
"version": "1.2.5",
"version": "1.2.6",
"description": "vCard Generator",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b514f2a

Please sign in to comment.