Adjustments on hotkeys and presets

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2017-06-14 09:19:49 +02:00
1 parent e6b5a21ae2
commit 2f7722d569
10 files changed
+23 -42

No files matched your search

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