Removing contextMenu templates and title from tabs
This commit is contained in:
1 parent
485f82f64c
commit
0cf4dbf13f
16 files changed
+27
-77
No files matched your search
@@ -2,6 +2,8 @@ import { Meteor } from 'meteor/meteor';
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
OHIF.user.getName = () => {
|
||||
const user = Meteor.user();
|
||||
if (!user) return '';
|
||||
const nameSplit = Meteor.user().profile.fullName.split(' ');
|
||||
const lastName = nameSplit[nameSplit.length - 1];
|
||||
nameSplit[nameSplit.length - 1] = lastName.substr(0, 1) + '.';
|
||||
|
||||
Reference in new issue
Block a user