Skip to content

Commit

Permalink
Merge pull request #379 from owncloud/no-fn
Browse files Browse the repository at this point in the history
In case no FN is defined we use N - temporal hack for now until we pr…
  • Loading branch information
DeepDiver1975 committed Apr 21, 2016
2 parents d2f31a9 + df1f213 commit 64fe77a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/models/contact_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ angular.module('contactsApp')
var property = model.getProperty('fn');
if(property) {
return property.value;
} else {
return undefined;
}
property = model.getProperty('n');
if(property) {
return property.value.join();
}
return undefined;
}
},

Expand Down

0 comments on commit 64fe77a

Please sign in to comment.