LT-275: Storing and showing common used labels

This commit is contained in:
Bruno Alves de Faria committed 2016-08-03 15:49:42 -03:00
1 parent 7d58d84d48
commit 7d4c76ddb0
10 files changed
+114 -14

No files matched your search

+4 -1
View File
@@ -14,8 +14,11 @@ OHIF.user.getData = key => {
// Check if there is an user logged in
OHIF.user.validate();
// Get user profile data
const profile = Meteor.user().profile;
// Get the user persistent data
const data = Meteor.user().profile.persistent;
const data = profile && profile.persistent;
if (data) {
return data[key];